Skip to content

Commit 3146f17

Browse files
authored
Merge pull request #444 from pramonow/golang-googlemap
examples for golang google map request
2 parents 9cdeee0 + 553812a commit 3146f17

File tree

9 files changed

+763
-0
lines changed

9 files changed

+763
-0
lines changed

aws-golang-googlemap/Gopkg.lock

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws-golang-googlemap/Gopkg.toml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
22+
23+
[[constraint]]
24+
name = "github.com/aws/aws-lambda-go"
25+
version = "1.x"

aws-golang-googlemap/Makefile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.PHONY: build clean deploy
2+
3+
build:
4+
dep ensure -v
5+
env GOOS=linux go build -ldflags="-s -w" -o bin/getgeolocation getgeolocation/main.go
6+
env GOOS=linux go build -ldflags="-s -w" -o bin/getsearchlocation getsearchlocation/main.go
7+
env GOOS=linux go build -ldflags="-s -w" -o bin/getnearbylocation getnearbylocation/main.go
8+
env GOOS=linux go build -ldflags="-s -w" -o bin/getgeodetail getgeodetail/main.go
9+
10+
clean:
11+
rm -rf ./bin ./vendor Gopkg.lock
12+
13+
deploy: clean build
14+
sls deploy --verbose

0 commit comments

Comments
 (0)