mirror of
https://github.com/samber/lo.git
synced 2025-10-04 15:42:48 +08:00
docs: grammar improvements (#673)
* lint: pin golangci-lint version * docs: grammar fixes * docs: remove "truthy" terminology * docs: remove "array" terminology * docs: grammar fixes * Update .github/workflows/lint.yml --------- Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
This commit is contained in:
@@ -73,7 +73,7 @@ func Must0(err any, messageArgs ...any) {
|
||||
must(err, messageArgs...)
|
||||
}
|
||||
|
||||
// Must1 is an alias to Must
|
||||
// Must1 is an alias to Must.
|
||||
// Play: https://go.dev/play/p/TMoWrRp3DyC
|
||||
func Must1[T any](val T, err any, messageArgs ...any) T {
|
||||
return Must(val, err, messageArgs...)
|
||||
|
Reference in New Issue
Block a user