- Add .golangci.yml with minimal linters (govet, ineffassign) - Run gofmt -s and goimports on all files to fix formatting - Disable fieldalignment and copylocks checks in govet
11 lines
236 B
Go
11 lines
236 B
Go
// go:build !linux
|
|
//go:build !linux
|
|
// +build !linux
|
|
|
|
package security
|
|
|
|
// checkVirtualMemoryLimit is a no-op on non-Linux systems (RLIMIT_AS not available)
|
|
func checkVirtualMemoryLimit(minVirtualMemoryMB uint64) error {
|
|
return nil
|
|
}
|