In Go, the _____ directory is used to store external dependencies.
- lib
- vendor
- ext
- deps
In Go, the vendor directory is used to store external dependencies. The vendor directory contains copies of external packages that your Go project depends on. This allows you to have more control over the versions and updates of external dependencies and ensures that your project's build is reproducible.
Loading...
Related Quiz
- How do you write a comment in Go? Provide an example.
- How would you dynamically increase the size of a slice in Go?
- Type assertions in Go have the syntax: value.___(type).
- JSON encoding in Go can be performed using the _____ package.
- How would you analyze the performance of memory allocations in a Go program using benchmarks?