mirror of
https://github.com/beego/bee.git
synced 2025-06-20 08:20:39 +00:00
Refactor!
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
This commit is contained in:
14
utils/doc_value.go
Normal file
14
utils/doc_value.go
Normal file
@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user