mirror of
https://github.com/beego/bee.git
synced 2025-02-22 04:17:16 +00:00

create sub packages delete unused code delete code from not use command cmdRouter,cmdTest, cmdRundocs make command plugins check with gosimple,staticcheck,go vet,unused,unconvert
15 lines
195 B
Go
15 lines
195 B
Go
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
|
|
}
|