I hereby claim:
- I am shihanng on github.
- I am shihanng (https://keybase.io/shihanng) on keybase.
- I have a public key ASCxoZQPsLAc5oZF20Qagmsb6zPTM1HBBckyazPsvGWGMwo
To claim this, I am signing this object:
package design | |
import . "goa.design/goa/http/design" | |
import . "goa.design/goa/http/dsl" | |
import _ "goa.design/goa/codegen/generator" | |
var _ = API("servicea", func() { | |
Title("The service a") | |
}) |
diff --git svc/servicea/api.go svc/servicea/api.go | |
index 99370e4..a974b63 100644 | |
--- svc/servicea/api.go | |
+++ svc/servicea/api.go | |
@@ -5,6 +5,7 @@ import ( | |
"log" | |
api "github.com/shihanng/gaegoasample/svc/servicea/gen/api" | |
+ "google.golang.org/appengine" | |
) |
runtime: go | |
api_version: go1.9 | |
service: default | |
handlers: | |
- url: /.* | |
script: _go_app |
package main | |
import ( | |
"google.golang.org/appengine" | |
_ "github.com/shihanng/gaegoasample/svc/servicea/cmd/servicea_svc" | |
) | |
func main() { | |
appengine.Main() |
diff --git svc/servicea/cmd/servicea_svc/servicea_svc.go svc/servicea/cmd/servicea_svc/servicea_svc.go | |
index 57f2486..8d2e583 100644 | |
--- svc/servicea/cmd/servicea_svc/servicea_svc.go | |
+++ svc/servicea/cmd/servicea_svc/servicea_svc.go | |
@@ -1,31 +1,20 @@ | |
-package main | |
+package servicea_svc | |
import ( | |
"context" |
I hereby claim:
To claim this, I am signing this object:
set autoupdategist | |
set typelinkhints | |
let searchlimit = 30 | |
let scrollstep = 70 | |
let barposition = "bottom" |
{{define "function"}} | |
{{- $f := .}} | |
func {{.TestName}}(t *testing.T) { | |
{{- with .Receiver}} | |
{{- if .IsStruct}} | |
{{- if .Fields}} | |
type fields struct { | |
{{- range .Fields}} | |
{{Field .}} {{.Type}} |