This is an automated email from the ASF dual-hosted git repository.
kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-control-plane.git
The following commit(s) were added to refs/heads/master by this push:
new 0183669 chore: fix go code styles (#41)
0183669 is described below
commit 0183669db0636559d2387bddaac9650f7770700e
Author: Joey <[email protected]>
AuthorDate: Wed Apr 21 09:34:44 2021 +0800
chore: fix go code styles (#41)
Signed-off-by: imjoey <[email protected]>
---
pkg/adapter/route.go | 3 ++-
pkg/yml/plugin.go | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pkg/adapter/route.go b/pkg/adapter/route.go
index 635573b..4029747 100644
--- a/pkg/adapter/route.go
+++ b/pkg/adapter/route.go
@@ -18,9 +18,10 @@
package adapter
import (
+ "reflect"
+
"github.com/apache/apisix-control-plane/pkg/dp/apisix"
"github.com/apache/apisix-control-plane/pkg/mem"
- "reflect"
)
func ToRoute(r *mem.Route) *apisix.Route {
diff --git a/pkg/yml/plugin.go b/pkg/yml/plugin.go
index 739940a..c8e9074 100644
--- a/pkg/yml/plugin.go
+++ b/pkg/yml/plugin.go
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+
package yml
import "github.com/apache/apisix-control-plane/pkg/mem"