Versions in this module Expand all Collapse all v1 v1.3.0 Nov 14, 2022 v1.2.0 Jun 30, 2021 Changes in this version + var AppRoot = os.Getwd() + var FormatTime = func(date time.Time, format string, context *qor.Context) string + var GetDBFromRequest = func(req *http.Request) *gorm.DB + var GetLocale = func(context *qor.Context) string + var HTMLSanitizer = bluemonday.UGCPolicy() + var ParseTime = func(timeStr string, context *qor.Context) (time.Time, error) + func ExitWithMsg(msg interface{}, value ...interface{}) + func FileServer(dir http.Dir) http.Handler + func GOPATH() []string + func GetAbsURL(req *http.Request) url.URL + func HumanizeString(str string) string + func Indirect(v reflect.Value) reflect.Value + func JoinURL(originalURL string, paths ...interface{}) (joinedURL string, err error) + func ModelType(value interface{}) reflect.Type + func NewValue(t reflect.Type) (v reflect.Value) + func ParamsMatch(source string, pth string) (url.Values, string, bool) + func ParseTagOption(str string) map[string]string + func PatchURL(originalURL string, params ...interface{}) (patchedURL string, err error) + func SafeJoin(paths ...string) (string, error) + func SetCookie(cookie http.Cookie, context *qor.Context) + func SliceUniq(s []string) []string + func SortFormKeys(strs []string) + func Stringify(object interface{}) string + func ToArray(value interface{}) (values []string) + func ToFloat(value interface{}) float64 + func ToInt(value interface{}) int64 + func ToParamString(str string) string + func ToString(value interface{}) string + func ToUint(value interface{}) uint64 + type ClosingReadSeeker struct + func (ClosingReadSeeker) Close() error + type ContextKey string + var ContextDBName ContextKey = "ContextDB"