Versions in this module Expand all Collapse all v2 v2.1.2 Jun 9, 2022 v2.1.1 Oct 24, 2019 Changes in this version + var DEFAULT_COMMENT = []byte + var DEFAULT_COMMENT_SEM = []byte + var DEFAULT_MULTI_LINE_SEPARATOR = []byte + var DEFAULT_SECTION = "default" + type Config struct + func (c *Config) AddConfig(section string, option string, value string) bool + func (c *Config) Bool(key string) (bool, error) + func (c *Config) Float64(key string) (float64, error) + func (c *Config) Int(key string) (int, error) + func (c *Config) Int64(key string) (int64, error) + func (c *Config) Set(key string, value string) error + func (c *Config) String(key string) string + func (c *Config) Strings(key string) []string + type ConfigInterface interface + Bool func(key string) (bool, error) + Float64 func(key string) (float64, error) + Int func(key string) (int, error) + Int64 func(key string) (int64, error) + Set func(key string, value string) error + String func(key string) string + Strings func(key string) []string + func NewConfig(confName string) (ConfigInterface, error) + func NewConfigFromText(text string) (ConfigInterface, error) Other modules containing this package github.com/CPTSLLC/casbin