UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Efren Aguilar's avatar
Efren Aguilar authored
Update module gorm.io/gorm to v1.25.5

See merge request !72
6938afc2
History

Collector Jira Workflow

Set up

  1. Install go version 1.19.x, golangci-lint
  2. Run npm i.
  3. Use go mod edit -module <your module name> to change the name of your go project in go.mod (don't need to do this step unless you want to change the module name of your project).
  4. Setting up VSCode linting intellisense (Optional):
    • Go to Go extension in marketplace (install go extension by "Go Team at Google")
    • Click on the settings icon
    • Click Extension Settings
    • Scroll all the way down and click Edit settings.json
    • Add these two lines:
       "go.lintTool": "golangci-lint",
       "go.lintFlags": [
       "--fast"
    ], ``` By default the .husky/pre-commit hook runs linting with golangci-lint version `v1.46.2` in a docker container as of this writing, but that can be configured to your liking, as well as forked and configured. Ultimately, this pre commit hook golangci-lint version will be the linting version you should be targetting.
  5. Happy coding.

E2E Testing

For running e2e testing in dev-environment, run npm run cypress:open or npm run cypress:run.