INNER CODE UNIT · Go

exitCode

rameshsunkara/go-rest-api-example · main.go:104

func exitCode(err error) int {
	if err == nil || errors.Is(err, context.Canceled) {
		return 0
	}
	return 1
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…