Documentation ¶
Index ¶
- Constants
- func CloneHTTPRequest(request *http.Request) (*http.Request, error)
- func CombineErrors(header string, errors []error) error
- func Elem(rType reflect.Type) reflect.Type
- func ExpandSQL(SQL string, args []interface{}) string
- func ExtractPath(name string) (string, string)
- func FirstNotEmpty(values ...string) string
- func KeysOf(value string, removeUnderscores bool) []string
- func MatchField(rType reflect.Type, name string, sourceCase text.CaseFormat) *xunsafe.Field
- func TrimPair(text string, begin, end byte) string
- func UnmarshalWithExt(data []byte, into interface{}, ext string) error
- type BuiltInKey
- type Errors
- type Reference
- type Unmarshal
Constants ¶
View Source
const (
ExecKindService = "service"
)
Variables ¶
This section is empty.
Functions ¶
func CloneHTTPRequest ¶ added in v0.8.0
CloneHTTPRequest clones http request
func CombineErrors ¶ added in v0.8.0
func ExtractPath ¶ added in v0.8.0
func FirstNotEmpty ¶ added in v0.8.0
func KeysOf ¶ added in v0.2.0
KeysOf creates keys based on given value using different strategies i.e. ToUpper, ToLower.
func MatchField ¶ added in v0.2.0
func UnmarshalWithExt ¶ added in v0.8.0
Types ¶
type BuiltInKey ¶ added in v0.2.0
type BuiltInKey string
BuiltInKey represents keys that are provided as parameters for every view.View in view.Session
const ( //DataViewName represents View.DbName parameter DataViewName BuiltInKey = "session.View.DbName" //SubjectName represents PrincialSubject parameter SubjectName BuiltInKey = "session.PrincialSubject" )
type Errors ¶ added in v0.2.0
type Errors struct {
// contains filtered or unexported fields
}
Errors collect errors, supports parallel errors collecting.
Click to show internal directories.
Click to hide internal directories.