Browse Source

format code (#312)

Kevin Wan 3 years ago
parent
commit
ba4bac3a03
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .gitignore
  2. 1 1
      core/conf/config_test.go

+ 1 - 1
.gitignore

@@ -4,6 +4,7 @@
 # Unignore all with extensions
 !*.*
 !**/Dockerfile
+!**/Makefile
 
 # Unignore all dirs
 !*/
@@ -12,7 +13,6 @@
 .idea
 **/.DS_Store
 **/logs
-!Makefile
 
 # gitlab ci
 .cache

+ 1 - 1
core/conf/config_test.go

@@ -33,7 +33,7 @@ func TestConfigJson(t *testing.T) {
 			var val struct {
 				A string `json:"a"`
 				B int    `json:"b"`
-				C string    `json:"c"`
+				C string `json:"c"`
 			}
 			MustLoad(tmpfile, &val)
 			assert.Equal(t, "foo", val.A)