Documentation ¶
Index ¶
- Variables
- func FileExist(path string) bool
- func LinkServerAllower(a, b server.Allower) server.Allower
- func Must(args ...interface{})
- func MustDeleteFile(path string)
- func MustReadFile(path string) []byte
- func MustWriteFile(path string, data []byte)
- func PanicFunc(f func(v interface{}))
- func SelectAnyByteSlice(args ...interface{}) []byte
- func SelectAnyString(args ...interface{}) string
- func SelectBool(args ...interface{}) bool
- func SelectByteSlice(args ...interface{}) []byte
- func SelectError(args ...interface{}) error
- func SelectNotNil[T any](args ...interface{}) T
- func SelectString(args ...interface{}) string
- type LoggerSubscriber
Constants ¶
This section is empty.
Variables ¶
View Source
var WorkingPath, _ = os.Getwd()
Functions ¶
func MustDeleteFile ¶
func MustDeleteFile(path string)
func MustReadFile ¶
func MustWriteFile ¶
func SelectAnyByteSlice ¶
func SelectAnyByteSlice(args ...interface{}) []byte
func SelectAnyString ¶
func SelectAnyString(args ...interface{}) string
func SelectBool ¶
func SelectBool(args ...interface{}) bool
func SelectByteSlice ¶
func SelectByteSlice(args ...interface{}) []byte
func SelectError ¶
func SelectError(args ...interface{}) error
func SelectNotNil ¶
func SelectNotNil[T any](args ...interface{}) T
func SelectString ¶
func SelectString(args ...interface{}) string
Types ¶
type LoggerSubscriber ¶
LoggerSubscriber is an implementation of Subscriber that forwards messages sent to the logger
Click to show internal directories.
Click to hide internal directories.