Versions in this module Expand all Collapse all v1 v1.0.4 Oct 13, 2024 Changes in this version + func Query(entityType string, sql string) ([]commEntity.IEntity, error) + type MySQLOption struct + DBName string + Host string + PassWord string + Port string + UserName string v1.0.3 Sep 27, 2024 Changes in this version + var Client *mysqlClient + var Option *mysqlOption + var SQL *entitySQL + func DeleteEntityById(entityType string, id int64) error + func InsertEntity(entity commEntity.IEntity) error + func Instance() + func QueryEntityById(entityType string, id int64) (commEntity.IEntity, error) + func QueryEntityList(entityType string) ([]commEntity.IEntity, error) + func UpdateEntityById(entity commEntity.IEntity) error