Documentation
¶
Index ¶
- type StructureHandler
- func (sh *StructureHandler) StructHasChanged(structure interface{}) (changed bool)
- func (sh *StructureHandler) StructRead(structure interface{}, filename string) error
- func (sh *StructureHandler) StructSignMake(Name, Vers, YearCreat, Creat, Repository, LicenseAbrv string) []string
- func (sh *StructureHandler) StructSignVersChk(vers, min interface{}) bool
- func (sh *StructureHandler) StructWrite(structure interface{}, filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructureHandler ¶
type StructureHandler struct {
// contains filtered or unexported fields
}
StructureHandler: Structure that hold some methods used to manage option/configuration disigned structures.
func StructureHandlerNew ¶
func StructureHandlerNew() (sh *StructureHandler)
func (*StructureHandler) StructHasChanged ¶
func (sh *StructureHandler) StructHasChanged(structure interface{}) (changed bool)
StructHasChanged: Determine whether the structure was changed since the last check.
func (*StructureHandler) StructRead ¶
func (sh *StructureHandler) StructRead(structure interface{}, filename string) error
StructRead: structure from Json file
func (*StructureHandler) StructSignMake ¶
func (sh *StructureHandler) StructSignMake(Name, Vers, YearCreat, Creat, Repository, LicenseAbrv string) []string
StructSignMake: create file signature using provided arguments
func (*StructureHandler) StructSignVersChk ¶
func (sh *StructureHandler) StructSignVersChk(vers, min interface{}) bool
StructSignVersChk: Checking for version 'major, minor, micro' accept input as string and/or interger. Return true whether the given 'vers' >= 'min'
func (*StructureHandler) StructWrite ¶
func (sh *StructureHandler) StructWrite(structure interface{}, filename string) error
StructWrite: structure to Json file
Click to show internal directories.
Click to hide internal directories.