Categorygithub.com/mjdusa/chatgpt-api
module
1.0.0
Repository: https://github.com/mjdusa/chatgpt-api.git
Documentation: pkg.go.dev

# README

chatgpt-api

Description

  • TODO: Description of project goes here.

Contributing

Please see our Contributing for how to contribute to the project.

Setting up for development

  1. Clone repository git clone

  2. Setup Pre-commit Hooks When you clone this repository to your workstation, make sure to install the pre-commit hooks. GitHub Repository

  • Installing tools
brew install pre-commit
  • Check installed versions.
$ pre-commit --version
pre-commit 3.3.2
  • Update configured pre-commit plugins. Updates repository versions in .pre-commit-config.yaml to the latest.
pre-commit autoupdate
  • Install pre-commit into the local git.
pre-commit install --install-hooks
  • Run pre-commit checks manually.
pre-commit run --all-files

Running

make release
...
./dist/chatgpt-api

Maintaining, Housekeeping, Greenkeeping, etc

Upgrade Go Version

go mod edit -go=<go_version> && go mod tidy

Upgrade Dependency Versions

go get -u && go mod tidy

Running GitHub Super-Linter Locally

docker run --rm -e RUN_LOCAL=true --env-file ".github/super-linter.env" -v $PWD:/tmp/lint github/super-linter:latest

Running golangci-lint Locally

golangci-lint run --config .github/linters/.golangci.yml --issues-exit-code 0 --out-format=checkstyle

# Packages

No description provided by the author