v1.15.0
* IDState cleaned up. Should work on all *NIXes now. * Can now get IDState of arbitrary PID. * Shuffled some env stuff around.
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
package envs
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
)
|
||||
|
||||
// Compiled regex patterns.
|
||||
var (
|
||||
reMaybeInt *regexp.Regexp = regexp.MustCompile(`^(?P<sign>\+|-)[0-9]+$`)
|
||||
reMaybeFloat *regexp.Regexp = regexp.MustCompile(`(?P<sign>\+|-)?[0-9]+\.[0-9]+$`)
|
||||
)
|
||||
|
||||
var (
|
||||
StructTagInterpolate string = "envsub"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user