urlshortener

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

urlshortener sample client

Steps to run:

  1. Generate the OpenAPI 3.0 description using disco (in the gnostic/apps directory).

     disco get urlshortener --openapi3
    
  2. (optional) View the JSON OpenAPI 3.0 description.

     gnostic openapi3-urlshortener-v1.pb --json-out=-
    
  3. Generate the urlshortener client.

     gnostic openapi3-urlshortener-v1.pb --go-client-out=urlshortener
    
  4. Build the client.

     go install 
    
  5. Download client_secrets.json from the Google Cloud Developer Console.

  6. Run the client

     urlshortener
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package urlshortener exists to allow this repo to work with recursive go get.
Package urlshortener exists to allow this repo to work with recursive go get.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL