Documentation
¶
Index ¶
- Constants
- Variables
- func AllPresent(values ...string) bool
- func AnyPresent(values ...string) bool
- func DetectOsType() string
- func GetOsSpecificDbDir() string
- func InitEmbeds(configFileExampleContent []byte, openApiSpecContent []byte, ...)
- func Is2xxHttpCode(code int) bool
- func IsHttpCodeValid(code string) bool
- func IsNoResponseBodyHttpCode(code int) bool
- func IsPortValid(port int) bool
- func MinInt(a, b int) int
- func MoreThanOnePresent(values ...string) bool
- func NonePresent(values ...string) bool
Constants ¶
View Source
const ( // OS: WindowsOS = "windows" LinuxOS = "linux" MacOS = "darwin" )
Variables ¶
View Source
var ( ConfigFileExampleContent []byte OpenApiSpecContent []byte SwaggerUiFs embed.FS )
Functions ¶
func AllPresent ¶
func AnyPresent ¶
func DetectOsType ¶
func DetectOsType() string
func GetOsSpecificDbDir ¶
func GetOsSpecificDbDir() string
func InitEmbeds ¶
func Is2xxHttpCode ¶
func IsHttpCodeValid ¶
func IsPortValid ¶
func MoreThanOnePresent ¶
func NonePresent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.