Skip to content
Snippets Groups Projects
Commit 7b56094a authored by ensiouel's avatar ensiouel
Browse files

refactor: удалена функция Must

parent 0d85618c
No related branches found
No related tags found
No related merge requests found
......@@ -12,10 +12,3 @@ func Bool(v bool) *bool {
func Ptr[T any](v T) *T {
return &v
}
func Must[T any](t T, err error) T {
if err != nil {
panic(err)
}
return t
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment