* chore: generate stdlib for go1.13 * chore: update CI configuration. * fix: struct13 test is too dependent of the Go implementation. * fix: disable test import4.go
42 lines
1.5 KiB
Go
42 lines
1.5 KiB
Go
// Code generated by 'goexports path/filepath'. DO NOT EDIT.
|
|
|
|
// +build go1.13,!go1.14
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"path/filepath"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["path/filepath"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"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),
|
|
"Join": reflect.ValueOf(filepath.Join),
|
|
"ListSeparator": reflect.ValueOf(filepath.ListSeparator),
|
|
"Match": reflect.ValueOf(filepath.Match),
|
|
"Rel": reflect.ValueOf(filepath.Rel),
|
|
"Separator": reflect.ValueOf(filepath.Separator),
|
|
"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),
|
|
|
|
// type definitions
|
|
"WalkFunc": reflect.ValueOf((*filepath.WalkFunc)(nil)),
|
|
}
|
|
}
|