Skip to content

Commit

Permalink
Adding comment on the Errors type
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni authored and markbates committed Feb 6, 2020
1 parent 2307729 commit 744650e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions errors.go
@@ -1,5 +1,6 @@
package tags

// Errors is the type we expect to contain the errors in the model we're representing with forms.
type Errors interface {
Get(key string) []string
}
1 change: 1 addition & 0 deletions form/text_area_tag_test.go
Expand Up @@ -54,6 +54,7 @@ func (ns nullString) Value() (driver.Value, error) {
return ns.String, nil
}

// NewNullString ...
func NewNullString(data string) nullString {
return nullString{
String: data,
Expand Down

0 comments on commit 744650e

Please sign in to comment.