Discover Packages
github.com/farizkamini/golove
internal
modules
admin
repo
package
Version:
v0.0.0-...-91e0860
Opens a new window with list of versions in this module.
Published: Nov 27, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CreateReq struct {
Name string `json:"name" db:"name"`
Age int `json:"age" db:"age"`
}
type Res struct {
ID uuid.UUID `db:"id" json:"id"`
Name string `db:"name" json:"name"`
Age int `db:"age" json:"age"`
CreatedAt time .Time `db:"created_at" json:"created_at"`
}
type Write struct {
TX pgx.Tx
}
func NewWrite(tx pgx.Tx) *Write
Source Files
¶
Click to show internal directories.
Click to hide internal directories.