package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Feb 27, 2024
License: LGPL-2.1
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Convert[U any, T any](requestStruct *U, targetStruct *T)
Convert converts requests struct to repo struct
func ToMap[T any](in T) map[string]interface{}
ToMap converts a struct into a map, respect the json tag name
Source Files
¶
Click to show internal directories.
Click to hide internal directories.