Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHeader ¶
func CheckHeader(fh FileHeader, conname string) bool
CheckHeader returns true, if conname and Header ContentName is identical
Types ¶
type File ¶
type File struct { Header FileHeader Content interface{} }
type FileHeader ¶
type FileHeader struct { HeaderVersion float32 FileName string ContentName string ContentVersion float32 Comment string }
FileHeader default config file header
func BuildHeader ¶
func BuildHeader(filename string, conname string, conver float32, comment string) FileHeader
BuildHeader builds a default config file header
func BuildHeaderWithStruct ¶
func BuildHeaderWithStruct(h FileHeader) FileHeader
BuildHeaderWithStruct builds a default config file header with a struct
Click to show internal directories.
Click to hide internal directories.