preprocess

package
v0.0.0-...-a9af2ab Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QSingle = w.QSingle
)

Variables

View Source
var (
	UTF8ToASCII = w.UTF8ToASCII
	ASCIIToOri  = w.ASCIIToOri
	IsJSON      = gjxy.IsJSON
)

Functions

func FmtJSONFile

func FmtJSONFile(file string, jqDirs ...string) string

FmtJSONFile : <file> is the <relative path> to <jq>

func FmtJSONStr

func FmtJSONStr(json string, jqDirs ...string) string

FmtJSONStr : <json string> must not have single quote <'>

func HasColonInValue

func HasColonInValue(str string) bool

HasColonInValue :

func RplcValueColons

func RplcValueColons(str string) string

RplcValueColons :

Types

type S

type S = w.Str

Jump to

Keyboard shortcuts

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