//
pkg.gl
Category
github.com/aceberg/LightAlert
internal
check
package
0.0.0-20230916062248-5122971fe00a
Repository:
https://github.com/aceberg/lightalert.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
6
Files
104 SLOC
#
Functions
IfError
IfError prints error, if it is not nil.
IsYaml
IsYaml - check if file exists and yaml.
Path
Path - create path if not exist.
TimeToSec
TimeToSec checks if time is correct and converts it to seconds.
ToMap
ToMap converts struct to map.
ToStruct
ToStruct converts map to struct.