-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add short script to move vendor folder around
**What** - Add Dockerfile testp to mov ethe vendor folder up from the function volder to function root. This allows the user to control the vendor folder and avoid collisions/validation errors from Go in modules mode - This new flow allows dynamic downloading of Go modules _or_ disabling Go modules and only using vendor. You can not use vendor _and_ modules at the same time due to how Go will validate that the vendor folder and the go.mod are insync Signed-off-by: Lucas Roesler <[email protected]>
- Loading branch information
1 parent
886beea
commit 675f544
Showing
6 changed files
with
35 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
template/golang-http/vendor/github.com/openfaas/templates-sdk/LICENSE
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
template/golang-http/vendor/github.com/openfaas/templates-sdk/go-http/README.md
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
template/golang-http/vendor/github.com/openfaas/templates-sdk/go-http/handler.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters