Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
f0cii committed Nov 5, 2018
1 parent 29aeed2 commit a2e577e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions value.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ func (value *Value) ToString() string {
if v, ok := value.Value.(string); ok {
return v
}
if value.Value == nil {
return ""
}
return fmt.Sprintf("%v", value.Value)
}

Expand Down

0 comments on commit a2e577e

Please sign in to comment.