syntax = "v1" info ( title: // TODO: add title desc: // TODO: add description author: "" email: "" ) import "basic.api" type request { // TODO: add members here and delete this comment // Name string `form:"name"` // parameters are auto validated } type GetTypeData { Id int64 `db:"id" json:"key"` // ID Name string `db:"name" json:"name"` // 餐厅名字 } service home-user-auth { @handler UserFontsHandler get /user/fonts(request) returns (response); @handler GetTypeHandler get /user/get-type(request) returns (response); }