mirror of
https://github.com/volatiletech/authboss.git
synced 2025-07-03 00:47:13 +02:00
Destroy a list of go lint errors.
This commit is contained in:
@ -10,7 +10,9 @@ type AttributeErr struct {
|
||||
GotKind string
|
||||
}
|
||||
|
||||
func MakeAttributeErr(name string, kind DataType, val interface{}) AttributeErr {
|
||||
// NewAttributeErr creates a new attribute err type. Useful for when you want
|
||||
// to have a type mismatch error.
|
||||
func NewAttributeErr(name string, kind DataType, val interface{}) AttributeErr {
|
||||
return AttributeErr{
|
||||
Name: name,
|
||||
WantKind: kind,
|
||||
|
Reference in New Issue
Block a user