Capitalize type names to prepare for moving them to the top level package

This commit is contained in:
Soam Vasani
2016-09-09 14:39:31 -07:00
parent 67ce88ebcc
commit 796a9810a4
7 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ import (
func TestRouter(t *testing.T) {
fmap := makeFunctionServiceMap()
fn := &function{name: "foo", uid: "xxx"}
fn := &Function{Name: "foo", Uid: "xxx"}
testResponseString := "hi"
testServiceUrl := createBackendService(testResponseString)
@@ -33,7 +33,7 @@ func TestRouter(t *testing.T) {
triggers := makeHTTPTriggerSet(fmap, "", "")
triggerUrl := "/foo"
triggers.triggers = append(triggers.triggers, httptrigger{triggerUrl, *fn})
triggers.triggers = append(triggers.triggers, HTTPTrigger{triggerUrl, *fn})
port := 4242
go server(port, triggers)