diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-01 00:35:39 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-01 00:35:39 +0100 |
| commit | b0236124fb328f5d1e863f3c76e6d57273519a15 (patch) | |
| tree | 9b28b3637061f8ff1637e88adf8914a069baf5b1 /internal | |
| parent | a1519ff7685ac987f9d70b1fb49bf777028d49b0 (diff) | |
Format: Run black and gofumpt
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/discovery/discovery_embed.go | 2 | ||||
| -rw-r--r-- | internal/discovery/discovery_noembed.go | 2 | ||||
| -rw-r--r-- | internal/http/http.go | 1 | ||||
| -rw-r--r-- | internal/oauth/token.go | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/internal/discovery/discovery_embed.go b/internal/discovery/discovery_embed.go index 8d6433b..90c731b 100644 --- a/internal/discovery/discovery_embed.go +++ b/internal/discovery/discovery_embed.go @@ -1,4 +1,4 @@ -// +build release +//go:build release package discovery diff --git a/internal/discovery/discovery_noembed.go b/internal/discovery/discovery_noembed.go index dd5ecd0..0c8e8e8 100644 --- a/internal/discovery/discovery_noembed.go +++ b/internal/discovery/discovery_noembed.go @@ -1,4 +1,4 @@ -// +build !release +//go:build !release package discovery diff --git a/internal/http/http.go b/internal/http/http.go index 766a2db..c31ed5e 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -249,5 +249,4 @@ func (e *StatusError) Error() string { // RegisterAgent registers the user agent for client and version func RegisterAgent(client string, version string) { UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/1.0.0") - } diff --git a/internal/oauth/token.go b/internal/oauth/token.go index 1594f43..a9d2c82 100644 --- a/internal/oauth/token.go +++ b/internal/oauth/token.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/go-errors/errors" "github.com/eduvpn/eduvpn-common/internal/log" + "github.com/go-errors/errors" ) // TokenResponse defines the OAuth response from the server that includes the tokens. |
