Documentation
¶
Index ¶
- func ConcatMaps(maps []map[string]interface{}) map[string]interface{}
- func Contains(s []interface{}, e interface{}) bool
- func ContainsString(s []string, e string) bool
- func GenerateRsaKeys() (pubPEM []byte, privPEM []byte)
- func PS(str string) *string
- func Paginate(sMinID string, sMaxID string) func(db *gorm.DB) *gorm.DB
- func ParsePublicKey(pubPEM []byte) (crypto.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatMaps ¶
ConcatMaps takes a slice of maps, and put their k/v pairs together.
func Contains ¶
func Contains(s []interface{}, e interface{}) bool
Contains detects if e is in slice s
func ContainsString ¶
ContainsString detects if e is in slice s
func GenerateRsaKeys ¶
GenerateRsaKeys returns a public key and a private key, both in PEM format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.