ini

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 10 Imported by: 0

README

Go-Ini

This implementation is based on these articles:

Features

  • Section
  • Global Properties
  • Read from file
  • Multiple seperators [":", "="]
  • Comments above line and in-line (#) (;)
  • Section Nesting
  • Configuration options for features with multiple implementations (like sub-sections)

Supported value types

  • String
  • Bool
  • Int (0, 8, 16, 32, 64)
  • Uint (0, 8, 16, 32, 64)

Planned Features

  • Write to file

Planned Supported value types

  • Array (Types above)
  • Multi-line String / Array

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	feature.Section
	Config config.Config
}

func CreateFile

func CreateFile() File

func Load

func Load(filePath string, file File) *File

Directories

Path Synopsis
enums

Jump to

Keyboard shortcuts

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