1
0
mirror of https://github.com/fumiama/tienyik.git synced 2026-06-28 23:10:23 +08:00

feat: add log & supporting packages

This commit is contained in:
源文雨
2025-10-30 23:23:45 +08:00
parent 617fc662c5
commit 15fcc9a338
19 changed files with 672 additions and 12 deletions

8
internal/op/chain.go Normal file
View File

@@ -0,0 +1,8 @@
package op
func Must[T any](x T, err error) T {
if err != nil {
panic(err)
}
return x
}