Use Go Modules for dependency management #17
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: gytisrepecka/webimg#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 (seerequire github.com/disintegration/imaging v1.6.2
line) is written.
Dependencies can be easily listed by using: