https://github.com/gomatic/vendoring
https://github.com/gomatic/vendoring
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gomatic/vendoring
- Owner: gomatic
- Created: 2017-05-23T19:07:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T20:06:18.000Z (about 9 years ago)
- Last Synced: 2025-10-10T11:43:39.237Z (9 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vendoring
git clone https://github.com/gomatic/vendoring.git
cd vendoring
export GOPATH=${PWD}
go build -v github.com/gomatic/main_a
## libs
- `lib_d` is "global"
- `lib_b` is a vendor and imports `lib_c` and `lib_d`
- `lib_c` is a vendor and imports `lib_d`
## mains
- `main_a` imports `lib_b` and `lib_d` to show that `main_a` and `lib_b` are accessing the same `D` from the global `lib_d`.