1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

[structs] change package structutil to structs (#81)

* refactor package structutil to structs

* add structs package zh-CN docs
This commit is contained in:
zm
2023-03-15 19:14:19 +08:00
committed by GitHub
parent 7261b281ad
commit 5e66bc6227
12 changed files with 594 additions and 26 deletions

View File

@@ -0,0 +1,7 @@
package structs
import "fmt"
func errInvalidStruct(v any) error {
return fmt.Errorf("invalid struct %v", v)
}