module
Version:
v2.1.7
Opens a new window with list of versions in this module.
Published: Dec 13, 2023
License: MIT
Opens a new window with license information.
README
¶
goutils
This repo is comprised of utilities that I use across various go projects.
Dependencies
-
Install asdf:
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
Install and use asdf plugins to manage go, python, and ruby for this project:
source .asdf
Alternatively, you can pick and choose which plugins to install:
# Employ asdf for this project's python:
source .asdf python
-
Install pre-commit:
python3 -m pip install --upgrade pip
python3 -m pip install pre-commit
-
Install Mage:
go install github.com/magefile/mage@latest
-
Install Keeper Commander:
python3 -m pip install --upgrade pip
python3 -m pip install keepercommander
For Contributors and Developers
-
Fork this project
-
Install dependencies:
mage installDeps
-
Update and run pre-commit hooks locally:
mage runPreCommit
Create New Release
-
Download and install the gh cli tool:
-
Install changelog extension:
gh extension install chelnak/gh-changelog
-
Generate changelog:
NEXT_VERSION=v1.1.3
gh changelog new --next-version "${NEXT_VERSION}"
-
Create release:
gh release create "${NEXT_VERSION}" -F CHANGELOG.md
Click to show internal directories.
Click to hide internal directories.