Fixing Golinting errors #46
Annotations
1 error and 10 warnings
|
api/api.go#L98
exported: type name will be used as api.ApiClient by other packages, and that stutters; consider calling this Client (revive)
|
api/api.go#L98
var-naming: type ApiClient should be APIClient (revive)
|
api/context.go#L33
context-keys-type: should not use basic type string as key in context.WithValue (revive)
|
api/throttling.go#L45
unexported-return: exported func NewTimeoutSemaphore returns unexported type *api.timeoutSemaphore, which can be annoying to use (revive)
|
inttests/api_test.go#L58
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
nfs_types.go#L24
var-naming: don't use underscores in Go names; const No_Access should be NoAccess (revive)
|
nfs_types.go#L25
var-naming: don't use underscores in Go names; const Read_Only should be ReadOnly (revive)
|
nfs_types.go#L26
var-naming: don't use underscores in Go names; const Read_Write should be ReadWrite (revive)
|
nfs_types.go#L28
var-naming: don't use underscores in Go names; const Read_Only_Root should be ReadOnlyRoot (revive)
|
nfs_types.go#L126
var-naming: struct field IpAddress should be IPAddress (revive)
|
The logs for this run have expired and are no longer available.
Loading