aboutsummaryrefslogtreecommitdiff
path: root/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'string.go')
-rw-r--r--string.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/string.go b/string.go
index 65c0cb7..362fbf8 100644
--- a/string.go
+++ b/string.go
@@ -14,6 +14,9 @@ func (s *stringValue) Set(val string) error {
*s = stringValue(val)
return nil
}
+func (s *stringValue) Type() string {
+ return "string"
+}
func (s *stringValue) String() string { return fmt.Sprintf("%s", *s) }