netmaker/test
kayos@tcp.direct e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
- Avoid referencing conditions we know are false/true

 - Avoid using name of imported package as variable

 - Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement

 - When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
  *** This item is the most important ***

 - Standard gofmt package sorting + linting; This includes fixing comment starts for go doc

 - Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)

 - Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
..
config remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
admincreate.sh
api_test.go.bak renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
gatewaycreate.sh
groupcreate.sh
groupscreate.sh
keycreate.sh
main.go Fixes+Chores: avoid de-referencing nil ptrs + lint 2022-12-06 20:11:20 -08:00
network_test.go.bak renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
node_test.go.bak renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
nodecreate.sh
nodescreate.sh
test.script
user_test.go.bak Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00