github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/courier/client/gen/common/interfaces.go (about) 1 package common 2 3 import ( 4 "io" 5 6 "github.com/johnnyeven/libtools/codegen" 7 ) 8 9 type Op interface { 10 ID() string 11 Method() string 12 Path() string 13 HasRequest() bool 14 WriteReqType(w io.Writer, importer *codegen.Importer) 15 WriteRespBodyType(w io.Writer, importer *codegen.Importer) 16 }