package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Aug 21, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetColNames 获取列名列表, modelPtr为数据对象的指针,tagName为成员描述符(即,"db", "gorm"等)
func GetColumns(modelPtr interface{}) ([]interface{}, error)
GetColumns 获取列字段指针
Query 执行sql语句,modelPtr为数据对象的指针
Source Files
¶
Click to show internal directories.
Click to hide internal directories.