goutils

module
v2.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2023 License: MIT

README

goutils

License Go Report Card Tests Coverage Status Renovate

This repo is comprised of utilities that I use across various go projects.

Dependencies


Developer Environment Setup

  1. Fork this project

  2. (Optional) If you installed gvm:

    source "${HOME}/.gvm"
    
  3. Install pre-commit hooks and dependencies:

    mage installPreCommitHooks
    
  4. Update and run pre-commit hooks locally:

    mage runPreCommit
    
  5. Install keeper commander:

    python3 -m pip install --upgrade pip
    python3 -m pip install keepercommander
    
  6. Install rvm and ruby (for markdownlint):

    gpg --keyserver keyserver.ubuntu.com \
      --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
    \curl -sSL https://get.rvm.io | bash -s stable --ruby
    rvm install ruby-3.2.1
    

Create New Release

This requires the GitHub CLI and gh-changelog GitHub CLI extension.

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

Directories

Path Synopsis
dev
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL