1
0
mirror of https://github.com/beego/bee.git synced 2024-06-01 09:13:27 +00:00
bee/utils/doc_value.go

15 lines
195 B
Go
Raw Normal View History

package utils
import "fmt"
type DocValue string
func (d *DocValue) String() string {
return fmt.Sprint(*d)
}
func (d *DocValue) Set(value string) error {
*d = DocValue(value)
return nil
}