Skip to content

Commit

Permalink
Merge pull request #4 from vsachs/get_argument_result
Browse files Browse the repository at this point in the history
add docstring
  • Loading branch information
vsachs committed May 28, 2021
2 parents ca45f72 + c8d4e61 commit ed0730a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions argument.go
Expand Up @@ -43,6 +43,8 @@ func (o arg) GetLname() string {
return o.lname
}

// getResult returns the interface{} to the *(type) containing the argument's result value
// Will contain the empty/default value if argument value was not given
func (o arg) GetResult() interface{} {
return o.result
}
Expand Down

0 comments on commit ed0730a

Please sign in to comment.