example.com/mymodule/v2
example.com/mymodule/v2
go get example.com/theirmodule@v1.2.3-alpha
v0.1.3
v1.0.0
v0.2.1-beta.1
v1.2.3-alpha
git add .
git commit -m "Initial private module implementation"
go get github.com/spf13/cobra@07445ea
git tag v0.1.0
OutputOn branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: pubmodule.go
no changes added to commit (use "git add" and/or "git commit -a")
git add .
git commit -m "Add Goodbye method"
Recommend
Go Module release and versioning workflow Publishing the first stable version
Go Module release and versioning workflow Publishing the first (unstable) version
Go Module release and versioning workflow Publishing pre-release versions
Go Contribution Guide Miscellaneous topics Sending multiple dependent changes
Go Contribution Guide Miscellaneous topics Set up git aliases
Go Contribution Guide Miscellaneous topics Reviewing code by others
Go Contribution Guide Miscellaneous topics Synchronize your client
Go Contribution Guide Miscellaneous topics Specifying a reviewer / CCing others
Go Contribution Guide Miscellaneous topics Quickly testing your changes
Go Contribution Guide Miscellaneous topics Troubleshooting mail errors
Go Contribution Guide Miscellaneous topics Copyright headers
Contribution Guide Good commit messages
Go Contribution Guide Sending a change via Gerrit Step 5: Revise changes after a review
Go Contribution Guide Sending a change via Gerrit Step 4: Send changes for review
Contribution Guide Sending a change via Gerrit Step 3: Test your changes In the main Go repository
Go Contribution Guide Sending a change via Gerrit Step 2: Prepare changes in a new branch
Go Contribution Guide Sending a change via Gerrit Step 1: Clone the source code
Go Contribution Guide Sending a change via Gerrit Overview
Go Contribution Guide Becoming a contributor Step 4: Install the git-codereview command
Contribution Guide Becoming a contributor Step 0: Select a Google Account
Go Contribution Guide Becoming a contributor Overview
How to Write Go Code Your first program Importing packages from remote modules
How to Write Go Code Your first program Importing packages from your module
How to Write Go Code Your first program
The Go Programming Language Specification System considerations Size and alignment guarantees
The Go Programming Language Specification System considerations Package unsafe
The Go Programming Language Specification Run-time panics
The Go Programming Language Specification Errors
The Go Programming Language Specification Program initialization and execution Program execution
The Go Programming Language Specification Program initialization and execution The zero value
The Go Programming Language Specification Packages An example package
The Go Programming Language Specification Packages Import declarations
The Go Programming Language Specification Packages Package clause
The Go Programming Language Specification Packages Source file organization
The Go Programming Language Specification Built-in functions Bootstrapping
The Go Programming Language Specification Built-in functions Handling panics
The Go Programming Language Specification Built-in functions Manipulating complex numbers
The Go Programming Language Specification Built-in functions Deletion of map elements
The Go Programming Language Specification Built-in functions Appending to and copying slices
The Go Programming Language Specification Built-in functions Making slices, maps and channels