types.go 430 B

1234567891011121314151617181920212223242526
  1. // Code generated by goctl. DO NOT EDIT!
  2. // Source: transform.proto
  3. package transformer
  4. import "errors"
  5. var errJsonConvert = errors.New("json convert error")
  6. type (
  7. ExpandReq struct {
  8. Shorten string `json:"shorten,omitempty"`
  9. }
  10. ExpandResp struct {
  11. Url string `json:"url,omitempty"`
  12. }
  13. ShortenReq struct {
  14. Url string `json:"url,omitempty"`
  15. }
  16. ShortenResp struct {
  17. Shorten string `json:"shorten,omitempty"`
  18. }
  19. )