Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AWS *s3.Client
View Source
var Rdb *redis.Client
Functions ¶
func InitAWS ¶
func InitAWS() error
InitAWS initializes the AWS S3 client and ensures specified buckets exist.
func InsertStruct ¶
InsertStruct inserts a struct into the database and returns the ID
func StructToQuery ¶
StructToQuery generates an SQL INSERT query from a struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.