update test case, add beta to go help

This commit is contained in:
wing328 2016-01-22 17:27:30 +08:00
parent 25b60a194b
commit 20e531d6dd
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ public class GoClientCodegen extends DefaultCodegen implements CodegenConfig {
} }
public String getHelp() { public String getHelp() {
return "Generates a Go client library."; return "Generates a Go client library (beta).";
} }
public GoClientCodegen() { public GoClientCodegen() {

View File

@ -22,7 +22,7 @@ func main() {
s.UpdatePetWithForm("12830", "golang", "available") s.UpdatePetWithForm("12830", "golang", "available")
// test GET // test GET
resp, err := s.GetPetById(3) resp, err := s.GetPetById(12830)
fmt.Println("GetPetById: ", resp, err) fmt.Println("GetPetById: ", resp, err)
} }