Skip to content

Commit e17d8c7

Browse files
committed
fix format
1 parent 8cbd7c5 commit e17d8c7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

api/user.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const (
5656
)
5757

5858
type User struct {
59-
Username string
60-
Password string // as sha256
59+
Username string
60+
Password string // as sha256
6161
Permissions PermissionFlag
6262
}

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ require (
2727
github.com/dustin/go-humanize v1.0.1 // indirect
2828
github.com/go-sql-driver/mysql v1.8.0 // indirect
2929
github.com/google/uuid v1.5.0 // indirect
30+
github.com/gorilla/schema v1.4.0 // indirect
3031
github.com/ipfs/go-log/v2 v2.1.3 // indirect
3132
github.com/json-iterator/go v1.1.12 // indirect
3233
github.com/lib/pq v1.10.9 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S3
3434
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
3535
github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU=
3636
github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
37+
github.com/gorilla/schema v1.4.0 h1:l2N+lRTJtev9SUhBtj6NmSxd/6+8LhvN0kV+H2Y8R9k=
38+
github.com/gorilla/schema v1.4.0/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM=
3739
github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY=
3840
github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY=
3941
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=

0 commit comments

Comments
 (0)