Skip to content

Commit

Permalink
attribut name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
trumae committed May 19, 2020
1 parent 6c7bb96 commit 2a0d003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions valente.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ type Form interface {

//FormImpl its a simple Form
type FormImpl struct {
name string
FName string
trans map[string]HandlerFunc
}

//Name return the name string
func (form FormImpl) Name() string {
return form.name
return form.FName
}

//AddEventHandler add an f function to handle evt event
Expand Down

0 comments on commit 2a0d003

Please sign in to comment.