Skip to content

senzing-garage/template-go

Repository files navigation

template-go

If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.

You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!

Synopsis

The template-go repository serves as a starting point for new repositories hosting Go code. It also shows best practices that can be retro-fitted into existing repositories hosting Go code.

Go Reference Go Report Card License

gosec.yaml go-test-linux.yaml go-test-darwin.yaml go-test-windows.yaml

Overview

Aspects of the template-go repository:

  1. Badges: Example badges can be seen above.
  2. Makefile: Simplifies development lifecycle commands.
  3. Sample code: main.go and examplepackage code examples.
  4. Sample test cases: *_test.go files showing how to write and document test cases.
  5. Sample documentation: Documentation style conducive to the Go Package library.
  6. Dockerfile: Containerizing the Go program.
  7. RPM/DEB builds: Using package.Dockerfile to build RPM and DEB files for installation.
  8. .github/workflows: GitActions tailored to Go programming.
  9. .github/dependabot.yml Specifications for keeping Go dependencies up-to-date.

Use

(TODO:)

References

  1. API documentation
  2. Development
  3. Errors
  4. Examples
  5. Related artifacts:
    1. DockerHub
    2. Helm Chart