Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// input
InputA5erFilePath string
InputDictionaryFilePath string
// output
OutputA5erFilePath string
// plural
TablePlural bool
PluralClient *pluralize.Client
}
Config holds information about the configuration of a5er-dictionary.
type Convertor ¶
type Convertor struct {
// contains filtered or unexported fields
}
func NewConvertor ¶
func NewConvertor() *Convertor
func (*Convertor) IsConverted ¶
func (c *Convertor) IsConverted(logicalName string, dict *Dictionary) bool
IsConverted はlogicalNameがすでに論物変換済かどうか判定します
func (*Convertor) Logical2Physical ¶
func (c *Convertor) Logical2Physical(logicalName string, dict *Dictionary) (string, bool)
type Dictionary ¶
type Dictionary []*dict
func (*Dictionary) LoadCSV ¶
func (d *Dictionary) LoadCSV(filepath string) error
func (*Dictionary) LoadMap ¶ added in v0.3.0
func (d *Dictionary) LoadMap(words map[string]string)
func (Dictionary) String ¶
func (d Dictionary) String() string
type Entity ¶
type Entity struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.