structures

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL