We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed an error is ignored in (db Database) Col(name string) *Collection at
(db Database) Col(name string) *Collection
aranGO/database.go
Line 164 in e183a93
However if we change the signature to (db Database) Col(name string) (*Collection, error), it's harder to use.
(db Database) Col(name string) (*Collection, error)
So, how about adding (s *Session) Errors() []error? For example, gorm (which is an object-relational mapping library) has the following methods:
(s *Session) Errors() []error
The text was updated successfully, but these errors were encountered:
@hnakamur good idea. I have to check other places too I guess.
Sorry, something went wrong.
No branches or pull requests
I noticed an error is ignored in
(db Database) Col(name string) *Collection
ataranGO/database.go
Line 164 in e183a93
However if we change the signature to
(db Database) Col(name string) (*Collection, error)
, it's harder to use.So, how about adding
(s *Session) Errors() []error
?For example, gorm (which is an object-relational mapping library) has the following methods:
The text was updated successfully, but these errors were encountered: