mirror of
https://github.com/eolinker/apinto
synced 2026-04-23 00:17:04 +08:00
18 lines
290 B
Go
18 lines
290 B
Go
package protocbuf
|
|
|
|
import (
|
|
"encoding/json"
|
|
|
|
"github.com/eolinker/eosc"
|
|
)
|
|
|
|
// Config protobuf驱动配置
|
|
type Config struct {
|
|
ProtoFiles eosc.EoFiles `json:"proto_files" label:"proto文件列表"`
|
|
}
|
|
|
|
func (c *Config) String() string {
|
|
data, _ := json.Marshal(c)
|
|
return string(data)
|
|
}
|