mofu

package
v0.0.0-...-c2d83a1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidStrings

type AndroidStrings struct{}

func (AndroidStrings) AcceptFile

func (a AndroidStrings) AcceptFile(name string) bool

func (AndroidStrings) Identifiers

func (a AndroidStrings) Identifiers() []string

func (AndroidStrings) Write

func (a AndroidStrings) Write(c *Config, w io.Writer)

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *Config

func (*Config) Filter

func (c *Config) Filter(prefix Key) Config

func (*Config) Merge

func (c *Config) Merge(that Config) Config

func (Config) Put

func (c Config) Put(key *Key, value *Value) Config

type ConfigReader

type ConfigReader interface {
	Read(r io.Reader) (*Config, error)
}

type IOSStrings

type IOSStrings struct{}

func (IOSStrings) AcceptFile

func (i IOSStrings) AcceptFile(name string) bool

func (IOSStrings) Identifiers

func (i IOSStrings) Identifiers() []string

func (IOSStrings) Write

func (i IOSStrings) Write(c *Config, w io.Writer)

type JavaProperties

type JavaProperties struct{}

func (JavaProperties) AcceptFile

func (j JavaProperties) AcceptFile(name string) bool

func (JavaProperties) Identifiers

func (j JavaProperties) Identifiers() []string

func (JavaProperties) Write

func (j JavaProperties) Write(c *Config, w io.Writer)

type Json

type Json struct{}

func (Json) AcceptFile

func (j Json) AcceptFile(name string) bool

func (Json) Identifiers

func (j Json) Identifiers() []string

func (Json) Write

func (j Json) Write(c *Config, w io.Writer)

type Key

type Key []string

func NewKey

func NewKey(s string) Key

func (Key) HasPrefix

func (k Key) HasPrefix(prefix Key) bool

type Value

type Value string

type Writer

type Writer interface {
	Identifiers() []string
	AcceptFile(name string) bool
	Write(c *Config, w io.Writer)
}

type Yaml

type Yaml struct{}

func (*Yaml) Read

func (y *Yaml) Read(r io.Reader) (*Config, error)

Jump to

Keyboard shortcuts

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