package stdlib
import (
"go/constant"
"go/token"
"path/filepath"
"reflect"
)
func init() {
Symbols ["path/filepath/filepath" ] = map [string ]reflect .Value {
"Abs" : reflect .ValueOf (filepath .Abs ),
"Base" : reflect .ValueOf (filepath .Base ),
"Clean" : reflect .ValueOf (filepath .Clean ),
"Dir" : reflect .ValueOf (filepath .Dir ),
"ErrBadPattern" : reflect .ValueOf (&filepath .ErrBadPattern ).Elem (),
"EvalSymlinks" : reflect .ValueOf (filepath .EvalSymlinks ),
"Ext" : reflect .ValueOf (filepath .Ext ),
"FromSlash" : reflect .ValueOf (filepath .FromSlash ),
"Glob" : reflect .ValueOf (filepath .Glob ),
"HasPrefix" : reflect .ValueOf (filepath .HasPrefix ),
"IsAbs" : reflect .ValueOf (filepath .IsAbs ),
"IsLocal" : reflect .ValueOf (filepath .IsLocal ),
"Join" : reflect .ValueOf (filepath .Join ),
"ListSeparator" : reflect .ValueOf (constant .MakeFromLiteral ("58" , token .INT , 0 )),
"Match" : reflect .ValueOf (filepath .Match ),
"Rel" : reflect .ValueOf (filepath .Rel ),
"Separator" : reflect .ValueOf (constant .MakeFromLiteral ("47" , token .INT , 0 )),
"SkipAll" : reflect .ValueOf (&filepath .SkipAll ).Elem (),
"SkipDir" : reflect .ValueOf (&filepath .SkipDir ).Elem (),
"Split" : reflect .ValueOf (filepath .Split ),
"SplitList" : reflect .ValueOf (filepath .SplitList ),
"ToSlash" : reflect .ValueOf (filepath .ToSlash ),
"VolumeName" : reflect .ValueOf (filepath .VolumeName ),
"Walk" : reflect .ValueOf (filepath .Walk ),
"WalkDir" : reflect .ValueOf (filepath .WalkDir ),
"WalkFunc" : reflect .ValueOf ((*filepath .WalkFunc )(nil )),
}
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .