package
0.0.13
Repository: https://github.com/tm-ad/g-base.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package inflection pluralizes and singularizes English nouns.
Package now is a time toolkit for golang.
No description provided by the author
No description provided by the author
Package strftime is forked from https://github.com/lestrrat-go/strftime 仅保留针对字符串的 format.
No description provided by the author
No description provided by the author

# Functions

Development determines whether or not it is currently in development mode GO_ENV = development.
Env gets the specified environment variable.
No description provided by the author
GOENV gets application running mode.
Production determines whether or not it is currently in production mode GO_ENV != testing && GO_ENV != development.
SetEnv sets environment variable.
SubStr 截取字符串 start 起点下标 length 需要截取的长度.
SubString 截取字符串 start 起点下标 end 终点下标(不包括).
Testing determines whether or not it is currently in testing mode GO_ENV = testing.
No description provided by the author

# Constants

DEV is a development pattern markup constant.
DevelopmentEnv is the name of the environment variable used to mark the running mode of the application.
PROD is a production pattern markup constant.
TESTING is a testing pattern markup constant.
WorkingPathEnv is the name of the environment variable used to mark the directory where the application runs.