Documentation ¶
Index ¶
- func CreateOrUpdate(db *gorm.DB, model interface{}, where interface{}, update interface{}) (interface{}, error)
- func PermuteStrings(parts ...[]string) (ret [][]string)
- func RandomString(length int) string
- func RandomStringWithCharset(length int, charset string) string
- func StringSliceContains(s []string, e string) bool
- func StringSlicePosition(slice []string, value string) int
- type Paginator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdate ¶
func CreateOrUpdate(db *gorm.DB, model interface{}, where interface{}, update interface{}) (interface{}, error)
CreateOrUpdate --
func PermuteStrings ¶
PermuteStrings generates all permutations of strings provided
func RandomStringWithCharset ¶
RandomStringWithCharset --
func StringSliceContains ¶
StringSliceContains --
func StringSlicePosition ¶
StringSlicePosition --
Types ¶
Click to show internal directories.
Click to hide internal directories.