diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-10-25 14:14:14 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-10-25 16:34:13 +0200 |
| commit | 5c1389589407a82b3ae989a316dcd79cf871ff1f (patch) | |
| tree | 4fdc779bf6d27ac62265e645868f3592644eae39 | |
| parent | 8817b04905b2eb1b714f51ea0ce43687a98ba886 (diff) | |
Format: Run Gofumpt
| -rw-r--r-- | internal/http/http.go | 2 | ||||
| -rw-r--r-- | internal/oauth/oauth_test.go | 1 | ||||
| -rw-r--r-- | internal/server/profile.go | 8 |
3 files changed, 5 insertions, 6 deletions
diff --git a/internal/http/http.go b/internal/http/http.go index 49e5f4f..0f56b96 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/go-errors/errors" "github.com/eduvpn/eduvpn-common/internal/version" + "github.com/go-errors/errors" ) // UserAgent is the user agent that is used for requests diff --git a/internal/oauth/oauth_test.go b/internal/oauth/oauth_test.go index 8682e24..8f5f04c 100644 --- a/internal/oauth/oauth_test.go +++ b/internal/oauth/oauth_test.go @@ -107,7 +107,6 @@ func Test_accessToken(t *testing.T) { t.Fatalf("Access token not equal, Got: %v, Want: %v", got, want) } - // Set the tokens as expired o.SetTokenExpired() want = "test3" diff --git a/internal/server/profile.go b/internal/server/profile.go index 7de944f..3a7fb08 100644 --- a/internal/server/profile.go +++ b/internal/server/profile.go @@ -1,10 +1,10 @@ package server type Profile struct { - ID string `json:"profile_id"` - DisplayName string `json:"display_name"` - VPNProtoList []string `json:"vpn_proto_list"` - DefaultGateway bool `json:"default_gateway"` + ID string `json:"profile_id"` + DisplayName string `json:"display_name"` + VPNProtoList []string `json:"vpn_proto_list"` + DefaultGateway bool `json:"default_gateway"` DNSSearchDomains []string `json:"dns_search_domain_list"` } |
