Use Go Modules for dependency management #17
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gytisrepecka/webimg#17
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use Go Modules - Go's dependency management system.
First uses here:
aceb90949a
Initialize modules:
File
go.mod
will be created, it will contain Go module name and version:To download dependencies and generate
go.sum
:At this point
go.mod
will be updated as well -require
section (seeaceb90949a/go.mod (L5)
line) is written.Dependencies can be easily listed by using: