Categorygithub.com/zeroboo/serverutils
modulepackage
0.4.4
Repository: https://github.com/zeroboo/serverutils.git
Documentation: pkg.go.dev

# README

go-serverutils

Common tools to manage backend service & users Current release: v0.4.1

  1. Build
  2. Test
go test -timeout 300s github.com/zeroboo/serverutils -v
  1. Publish: Example with VERSION=v0.4.1
  • Tag on git
git tag $VERSION
git push origin $VERSION
  • Publish go
SET GOPROXY=proxy.golang.org 
go list -m github.com/zeroboo/serverutils@$VERSION

# Functions

GetIntegerEnvOrDefault return environment variable value or default value if the variable not exists.
GetHostName return host name of running machine.
GetIntEnvOrDefault returns environment variable parsed as int64 value.
GetIntegerEnvOrDefault returns environment variable parsed as int value.
GetIntEnvOrDefault returns environment variable parsed as int value.
PrintEnv dumps environment to standard output.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author