d98852293b06 — Sean Russell 11 years ago
Doc tweaks
1 files changed, 25 insertions(+), 27 deletions(-)

M doc.go
M doc.go +25 -27
@@ 2,31 2,29 @@ 
 // Use of this source code is governed by a BSD-Simple
 // license that can be found in the LICENSE.txt file.
 
-/*
- * Sashay is a library and command for turning Swagger JSON into Go code.
- *
- * Usage:
- *    sashay <-f> <-u> <-p>
- *      -f="": API specification JSON file
- *      -p="": API package
- *      -u="": API specification URL
- *    Either -f or -u must be provided, and only one can be. -p must be provided.
- *
- * Example:
- *    sashay -u http://petstore.swagger.wordnik.com/api/api-docs -p petstore > petstore.go
- *
- * Then:
- *    package main
- *
- *    import "petstore"
- *
- *    func main() {
- *      pet, err := petstore.GetPetById(33)
- *      if err != nil {
- *        log.Println("error fetching pet:", err.Error())
- *        return
- *      }
- *      log.Println("Pet's name is", pet.Name)
- *    }
- */
+// Sashay is a library and command for turning Swagger JSON into Go code.
+//
+// Usage:
+//    sashay <-f> <-u> <-p>
+//      -f="": API specification JSON file
+//      -p="": API package
+//      -u="": API specification URL
+//    Either -f or -u must be provided, and only one can be. -p must be provided.
+//
+// Example:
+//    sashay -u http://petstore.swagger.wordnik.com/api/api-docs -p petstore > petstore.go
+//
+// Then:
+//    package main
+//
+//    import "petstore"
+//
+//    func main() {
+//      pet, err := petstore.GetPetById(33)
+//      if err != nil {
+//        log.Println("error fetching pet:", err.Error())
+//        return
+//      }
+//      log.Println("Pet's name is", pet.Name)
+//    }
 package sashay