https://github.com/rizalgowandy/library-template-go
Template for a new library.
https://github.com/rizalgowandy/library-template-go
go golang golang-library library sdk template
Last synced: 5 months ago
JSON representation
Template for a new library.
- Host: GitHub
- URL: https://github.com/rizalgowandy/library-template-go
- Owner: rizalgowandy
- License: bsd-3-clause
- Created: 2021-08-28T04:24:56.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-15T05:33:37.000Z (about 1 year ago)
- Last Synced: 2025-08-17T04:55:33.299Z (10 months ago)
- Topics: go, golang, golang-library, library, sdk, template
- Language: Go
- Homepage:
- Size: 472 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://pkg.go.dev/github.com/rizalgowandy/library-template-go?tab=doc)
[](https://github.com/rizalgowandy/library-template-go/releases)
[](https://goreportcard.com/report/github.com/rizalgowandy/library-template-go)
[](https://github.com/rizalgowandy/library-template-go/actions?query=branch%3Amain)
[](https://sourcegraph.com/github.com/rizalgowandy/library-template-go?badge)

## Getting Started
// TODO: replace me
## Installation
```shell
# TODO: replace me
go get -v github.com/rizalgowandy/library-template-go
```
## Quick Start
```go
// TODO: replace me
```
For more example check [here](main_integration_test.go).
## Test Double / Stub
Sometimes it's make sense to make an API call without actually calling the API. In order to support that this library has a built-in stub that can be triggered. You can enable stub by injecting certain value to the context data. You can also enforce that certain API call will always return error with specific type and
message.
```go
// TODO: replace me
```
For more example, check [here]().
## Supported API
Version: // TODO: replace me
- [// TODO: replace me]()
- [// TODO: replace me]()