mapping

package
v0.0.0-...-c0d88ac Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C7Map

type C7Map struct {
	Map []c7
}

C7Map is map of things that need to replace

func GetMapping

func GetMapping() (C7Map, error)

GetMapping returns map of things that must be replaced

func ReadCharSetJSON

func ReadCharSetJSON(src string) (C7Map, error)

ReadCharSetJSON read file ".c7map" and load the configuration

func (*C7Map) Replace

func (cm *C7Map) Replace(line string) (bool, string)

Replace find text that needs to replace

Jump to

Keyboard shortcuts

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