package
0.0.0-20210927054438-3effdab16298
Repository: https://github.com/fauzanmh/olp-admin.git
Documentation: pkg.go.dev
# Functions
CreatedResponse returns.
ErrorBadRequest returns.
ErrorConflictResponse returns.
ErrorDefaultResponse returns.
ErrorForbidden returns.
ErrorInternalServerResponse returns.
ErrorNotFound returns.
ErrorParsing returns.
ErrorResponse returns.
ErrorUnauthorized returns.
ErrorValidate returns.
GetEnv returns app envorinment : e.g.
IsDevelopmentEnv returns whether the app is running using production env.
IsFileorDirExist returns a boolean indicating whether file is exist or not.
IsProductionEnv returns whether the app is running using production env.
ParsingParameter will parsing request to struct.
SetLowerAndAddSpace is function to convert camelCase to snake_case.
SuccessResponse returns.
ToSnakeCase is function to convert camelCase to snake_case.
ValidateParameter will validate request.
ValidateStruct will validate request.
# Structs
ParsingError is.