Documentation ¶
Overview ¶
ORM mapper for Freelancer ini reader. Easy mapping values to change.
Index ¶
Constants ¶
View Source
const PATH_SEPARATOR = `/`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶ added in v0.8.0
type Bool struct { *Value // contains filtered or unexported fields }
type ConfigModel ¶
type ConfigModel struct {
// contains filtered or unexported fields
}
func (*ConfigModel) Init ¶
func (s *ConfigModel) Init(sections []*inireader.Section, comments []string, filepath utils_types.FilePath)
func (*ConfigModel) Render ¶
func (s *ConfigModel) Render() *inireader.INIFile
func (*ConfigModel) SetOutputPath ¶
func (s *ConfigModel) SetOutputPath(filepath utils_types.FilePath)
type Float ¶ added in v0.8.0
type Float struct { *Value // contains filtered or unexported fields }
type Path ¶
type Path struct { *Value // contains filtered or unexported fields }
Linux friendly filepath, that can be returned to Windows way from linux
func (*Path) FileName ¶
func (s *Path) FileName() utils_types.FilePath
func (*Path) Get ¶
func (s *Path) Get() utils_types.FilePath
func (*Path) Set ¶
func (s *Path) Set(value utils_types.FilePath)
type PathOption ¶ added in v0.14.0
type PathOption func(s *Path)
func OptsP ¶ added in v0.14.0
func OptsP(opts ...ValueOption) PathOption
func WithLowercaseP ¶ added in v0.14.0
func WithLowercaseP() PathOption
func WithoutSpacesP ¶ added in v0.14.0
func WithoutSpacesP() PathOption
type String ¶
type String struct { *Value // contains filtered or unexported fields }
type StringOption ¶ added in v0.14.0
type StringOption func(s *String)
func OptsS ¶ added in v0.14.0
func OptsS(opts ...ValueOption) StringOption
func WithLowercaseS ¶ added in v0.14.0
func WithLowercaseS() StringOption
func WithoutSpacesS ¶ added in v0.14.0
func WithoutSpacesS() StringOption
type ValueOption ¶ added in v0.8.0
type ValueOption func(i *Value)
func Index ¶ added in v0.8.0
func Index(index int) ValueOption
func Optional ¶ added in v0.8.0
func Optional() ValueOption
func Order ¶ added in v0.8.0
func Order(order int) ValueOption
Click to show internal directories.
Click to hide internal directories.