go-must go-must is a package to provide Must[T any](v T, err error) T for convenience. Usage package main import ( "fmt" "net/url" "github.com/fixpoint/go-must" ) func main() { u := must.Must(url.Parse("https://example.com")) fmt.Printf("%v\n", u) }