{"id":17917417,"url":"https://github.com/pellared/test-circleci","last_synced_at":"2025-04-03T07:44:59.680Z","repository":{"id":72375627,"uuid":"260867877","full_name":"pellared/test-circleci","owner":"pellared","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-03T09:28:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T21:29:24.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pellared.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T09:23:43.000Z","updated_at":"2020-05-03T09:28:10.000Z","dependencies_parsed_at":"2023-09-17T09:15:29.271Z","dependency_job_id":null,"html_url":"https://github.com/pellared/test-circleci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"golang-templates/seed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pellared%2Ftest-circleci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pellared%2Ftest-circleci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pellared%2Ftest-circleci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pellared%2Ftest-circleci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pellared","download_url":"https://codeload.github.com/pellared/test-circleci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246961923,"owners_count":20861177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T20:07:08.120Z","updated_at":"2025-04-03T07:44:59.647Z","avatar_url":"https://github.com/pellared.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/golang-templates/library/workflows/build/badge.svg)](https://github.com/golang-templates/library/actions?query=workflow%3Abuild)\n[![GoDoc](https://godoc.org/github.com/golang-templates/library?status.svg)](https://godoc.org/github.com/golang-templates/library)\n[![GitHub Release](https://img.shields.io/github/release/golang-templates/library.svg)](https://github.com/golang-templates/library/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/golang-templates/library)](https://goreportcard.com/report/github.com/golang-templates/library)\n\n# Go Library Template\n\nThis is GitHub project template for a Go library. It has been created for ease-of-use for anyone who wants to:\n\n- quickly get into Go without losing too much time on environment setup,\n- create a new repoisitory with basic Continous Integration,\n- write Go code on Linux, MacOS, Windows,\n- use free tools.\n\nIt includes:\n\n- editor config: [Visual Studio Code](https://code.visualstudio.com)  with [Go](https://code.visualstudio.com/docs/languages/go) and [Remote Container](https://code.visualstudio.com/docs/remote/containers) support,\n- dependency management: [Go Modules](https://github.com/golang/go/wiki/Modules),\n- linter: [GolangCI-Lint](https://github.com/golangci/golangci-lint),\n- build automation: [Mage](https://magefile.org), [Docker](https://docs.docker.com/engine), [Docker Compose](https://docs.docker.com/compose), [GitHub Actions](https://github.com/features/actions).\n\n`Star` this project if you find it valuable and worth maintaining.\n\n## Usage\n\n1. Click the `Use this template` button (alt. clone or download this repository).\n1. Replace all occurences of `golang-templates/library` to `your_org/repo_name` in all files.\n1. Change [LICENSE](LICENSE) and [README.md](README.md).\n\n### Setup Development Environment\n\nTake notice that this project is build in a way that gives the developer a lot of freedom on the development environment setup. Below you can find proposals when using Visual Studio Code. \n\n- **Bare metal:** Install Go, Visual Studio Code, Mage and GolangCI-Lint (see [Dockerfile](Dockerfile) for Mage and GolangCI-Lint installation commands).\n- **Containers:** Install Docker, Visual Studio Code with Remote - Container extension. [Instructions](https://code.visualstudio.com/docs/remote/containers).\n- **Remote via SSH**: [Instructions](https://code.visualstudio.com/docs/remote/ssh).\n\n### Build\n\n- Terminal: `mage -v all`.\n- Visual Studio Code: `Terminal` → `Run Build Task... (CTRL+ALT+B)` → Select `All`.\n- Terminal: `docker-compose up --abort-on-container-exit`. This command is executed by CI build (GitHub Action workflow).\n\n### Maintainance\n\n1. `Watch` this project to get notified about new releases, issues, etc.\n1. Update Go, Mage and GolangCI-Lint version in [Dockerfile](Dockerfile). Take notice that when working on bare metal or via SSH, then you should also to do it manually on your machine.\n1. Configure linters via [.golangci.yml](.golangci.yml).\n1. Develop tasks/targets in [magefile.go](magefile.go) and [.vscode/tasks.json](.vscode/tasks.json).\n\n## Contributing\n\nSimply create an issue or a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpellared%2Ftest-circleci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpellared%2Ftest-circleci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpellared%2Ftest-circleci/lists"}