Documentation
¶
Index ¶
- Variables
- func CheckForFieldInSchema(tableName string, field string, schema ct.Schema) bool
- func CompleteProviderAuth(user goth.User, w http.ResponseWriter, r *http.Request, db *gorm.DB) error
- func ConvertPgArrayToSlice(pgArray string) []string
- func CreateSchema(db *gorm.DB, schema ct.Schema) error
- func CreateStructFromSchema(schema ct.Schema) interface{}
- func GenerateJWT(user ct.Js, expiry time.Duration) (string, error)
- func ProcessOutputData(tableName string, data ct.Js, schema ct.Schema) ct.Js
- func ProcessOutputDataList(tableName string, items []ct.Js, schema ct.Schema) []ct.Js
- func RefreshToken(refreshToken string, db *gorm.DB) (string, error)
- func SendSMTPMail(to string, SMTPConfig ct.SMTPConfig, db *gorm.DB) error
- func StringToUpperCamelCase(s string) string
- func UploadMultipleFilesLocally(files []*multipart.FileHeader) ([]string, error)
- func UploadSingleFileLocally(fileHeader *multipart.FileHeader) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var OperatorIndex = map[string]bool{ "=": true, ">": true, "<=": true, ">=": true, "<>": true, "BETWEEN": true, "NOT BETWEEN": true, "IN": true, "NOT IN": true, "LIKE": true, "NOT LIKE": true, }
View Source
var Schemas = make(map[string]ct.Schema)
Functions ¶
func CheckForFieldInSchema ¶
func CompleteProviderAuth ¶
func ConvertPgArrayToSlice ¶
func CreateStructFromSchema ¶
func ProcessOutputData ¶
func ProcessOutputDataList ¶
func SendSMTPMail ¶
func StringToUpperCamelCase ¶
func UploadMultipleFilesLocally ¶
func UploadMultipleFilesLocally(files []*multipart.FileHeader) ([]string, error)
func UploadSingleFileLocally ¶
func UploadSingleFileLocally(fileHeader *multipart.FileHeader) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.