You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
395 B
Go
28 lines
395 B
Go
1 year ago
|
package ndef
|
||
|
|
||
|
// const for compare operation
|
||
|
const (
|
||
|
OpEq = "="
|
||
|
OpNeq = "!="
|
||
|
OpLt = "<"
|
||
|
OpLte = "<="
|
||
|
OpGt = ">"
|
||
|
OpGte = ">="
|
||
|
)
|
||
|
|
||
|
// const quote chars
|
||
|
const (
|
||
|
SingleQuote = '\''
|
||
|
DoubleQuote = '"'
|
||
|
SlashQuote = '\\'
|
||
|
|
||
|
SingleQuoteStr = "'"
|
||
|
DoubleQuoteStr = `"`
|
||
|
SlashQuoteStr = "\\"
|
||
|
)
|
||
|
|
||
|
// NoIdx invalid index or length
|
||
|
const NoIdx = -1
|
||
|
|
||
|
// const VarPathReg = `(\w[\w-]*(?:\.[\w-]+)*)`
|