From e17d8c710e10c96303b935084097641f45b710ea Mon Sep 17 00:00:00 2001 From: zyxkad Date: Thu, 27 Jun 2024 16:24:05 -0600 Subject: [PATCH] fix format --- api/user.go | 4 ++-- go.mod | 1 + go.sum | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/api/user.go b/api/user.go index 85ec6fd6..e145c9a3 100644 --- a/api/user.go +++ b/api/user.go @@ -56,7 +56,7 @@ const ( ) type User struct { - Username string - Password string // as sha256 + Username string + Password string // as sha256 Permissions PermissionFlag } diff --git a/go.mod b/go.mod index 9d665f95..9fdf8233 100644 --- a/go.mod +++ b/go.mod @@ -27,6 +27,7 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/go-sql-driver/mysql v1.8.0 // indirect github.com/google/uuid v1.5.0 // indirect + github.com/gorilla/schema v1.4.0 // indirect github.com/ipfs/go-log/v2 v2.1.3 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/lib/pq v1.10.9 // indirect diff --git a/go.sum b/go.sum index a02d9225..3ed4d9ee 100644 --- a/go.sum +++ b/go.sum @@ -34,6 +34,8 @@ github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S3 github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU= github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gorilla/schema v1.4.0 h1:l2N+lRTJtev9SUhBtj6NmSxd/6+8LhvN0kV+H2Y8R9k= +github.com/gorilla/schema v1.4.0/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=