diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-12 19:18:05 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-02-19 14:15:07 +0100 |
| commit | 74e36f0ead717105f26087c2cab08b41ba5a7ce8 (patch) | |
| tree | 1eb2b7516bea705c9b5a50ce0965e170414ed880 /types/server | |
| parent | 682d70091af2044ff6d8b350da9dff13163232e2 (diff) | |
All: Document everything to pass revive lint
Diffstat (limited to 'types/server')
| -rw-r--r-- | types/server/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/types/server/server.go b/types/server/server.go index 5e1fa9b..1beb8fb 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -1,4 +1,4 @@ -// package server defines public types that have to deal with the VPN server +// Package server defines public types that have to deal with the VPN server package server import ( @@ -23,7 +23,7 @@ const ( TypeCustom ) -// This is here to support V1 configs which had the server type as a string +// UnmarshalJSON is set here here to support V1 configs which had the server type as a string func (t *Type) UnmarshalJSON(data []byte) error { // First try to just unmarshal the type var num int8 |
