nerdguru / go-sls-crudl Goto Github PK
View Code? Open in Web Editor NEWAn example Serverless framework project using Golang to build a simple API Gateway -> Lambda -> DynamoDB set of methods
An example Serverless framework project using Golang to build a simple API Gateway -> Lambda -> DynamoDB set of methods
Hey -- thanks for doing this, it's really nice to have an example integrated with serverless.
But it won't compile, out of the box:
$ make
dep ensure
env GOOS=linux go build -ldflags="-s -w" -o bin/get functions/get.go
functions/get.go:6:2: cannot find package "go-sls-crudl/moviedao" in any of:
/Volumes/Second/Chris/hacks/gofigure/src/github.com/csterritt/go-sls-crudl/vendor/go-sls-crudl/moviedao (vendor tree)
/usr/local/Cellar/go/1.11.2/libexec/src/go-sls-crudl/moviedao (from $GOROOT)
/Volumes/Second/Chris/hacks/gofigure/src/go-sls-crudl/moviedao (from $GOPATH)
make: *** [build] Error 1
I've found that I have to change the moviedao
import to:
"github.com/nerdguru/go-sls-crudl/moviedao"
Then it will compile. Of course, that means that there's another copy of the code under vendor/github.com/nerdguru/go-sls-crudl
, so I'd have to edit its copy of moviedao
if I wanted to change it.
I'm pretty much a go newbie myself, so I'll see if I can't figure it out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.