Documentation
¶
Index ¶
- func CopyFile(src, dst, user string) error
- func CreateDirectories(path, user string, perm os.FileMode) error
- func GetNullableInt64(nullValue *sql.NullInt64) *int64
- func GetNullableString(nullValue *sql.NullString) *string
- func PrintReadyBanner()
- func RemoveFile(path string) error
- func RemoveGlob(path string) (err error)
- func SafeStringVal(str *string) string
- func SetPermissions(path, username string) error
- func SetPermissionsRecursive(path, user, group string) error
- func SplitPath(filepath string) (filename string, path string)
- func StringVal[T ...](num T) string
- func TrimmedString(str *string) string
- func WriteError(w http.ResponseWriter, r *http.Request, err error, code int)
- func WriteResponse(w http.ResponseWriter, r *http.Request, data any, code int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNullableInt64 ¶
func GetNullableString ¶
func GetNullableString(nullValue *sql.NullString) *string
func PrintReadyBanner ¶
func PrintReadyBanner()
func RemoveFile ¶
func RemoveGlob ¶
func SafeStringVal ¶
func SetPermissions ¶
func SetPermissionsRecursive ¶
func TrimmedString ¶
func WriteError ¶
func WriteResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.