Skip to content

Commit

Permalink
Add Icon method to Modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed Nov 2, 2017
1 parent 8269c8f commit b5dde3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions feedback.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ func (m *Modifier) Valid(v bool) *Modifier {
return m
}

// Icon sets an icon for the Modifier.
func (m *Modifier) Icon(i *Icon) *Modifier {
m.icon = i
return m
}

// Var sets a variable for the Modifier.
func (m *Modifier) Var(k, v string) *Modifier {
m.vars[k] = v
Expand Down
2 changes: 1 addition & 1 deletion workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

// AwGoVersion is the semantic version number of this library.
const AwGoVersion = "0.11"
const AwGoVersion = "0.12"

var (
startTime time.Time // Time execution started
Expand Down

0 comments on commit b5dde3a

Please sign in to comment.