openapi-generator/samples/server/petstore/go-api-server/go
antihax 3ed1aa8e79 Rewrite of Go Client #2 (#5037)
* Rewrite of Go Client

* Revert to older version of context.Context

* Clean and bulk up concurrency test.

* Correct {{path}} to {{{path}}}

* change custom date type to string.

* Add APIKey authentication

* Correct missing line from resolving conflicts.

Correct missing line from resolving conflicts.
2017-04-22 01:17:18 +08:00
..
app.yaml issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
logger.go removed tab in logger, added warnings for import 2016-05-27 09:42:08 -07:00
pet.go issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
README.md Rewrite of Go Client #2 (#5037) 2017-04-22 01:17:18 +08:00
routers.go [Go] #3084: remove timestamps from go server (#5218) 2017-03-27 11:47:15 +08:00
store.go issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
user.go issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00

Go API Server for petstoreserver

This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key to test the authorization filters.

Overview

This server was generated by the [swagger-codegen] (https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.0.0
  • Build date: 2017-03-12T22:24:15.399-05:00

Running the server

To run the server, follow these simple steps:

go run main.go