{"id":19249670,"url":"https://github.com/slingercode/learn-go-with-tests","last_synced_at":"2026-06-22T07:31:20.770Z","repository":{"id":230252667,"uuid":"778897207","full_name":"slingercode/learn-go-with-tests","owner":"slingercode","description":"https://quii.gitbook.io/learn-go-with-tests","archived":false,"fork":false,"pushed_at":"2024-04-03T05:54:56.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-17T07:09:29.871Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slingercode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-03-28T16:14:04.000Z","updated_at":"2024-03-28T16:14:43.000Z","dependencies_parsed_at":"2024-06-19T09:03:55.248Z","dependency_job_id":"2f8bb5ae-e845-4e7e-99fd-e2701008249b","html_url":"https://github.com/slingercode/learn-go-with-tests","commit_stats":null,"previous_names":["slingercode/learn-go-with-tests"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slingercode/learn-go-with-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slingercode%2Flearn-go-with-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slingercode%2Flearn-go-with-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slingercode%2Flearn-go-with-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slingercode%2Flearn-go-with-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slingercode","download_url":"https://codeload.github.com/slingercode/learn-go-with-tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slingercode%2Flearn-go-with-tests/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34639704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T18:15:03.683Z","updated_at":"2026-06-22T07:31:20.746Z","avatar_url":"https://github.com/slingercode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning go with tests\n\n[Reference URL](https://quii.gitbook.io/learn-go-with-tests/go-fundamentals/iteration)\n\n## Run tests\n\n~~The package should be named as `SOMETHING_test`~~. Just ignore that\n\n- `go test -v ./folder`\n\n## Modules\n\n- Hello world\n- Integers\n- Iteration\n- Arrays and Slices\n- Structs, methods and interfaces\n\n## Quick Notes (bc i have short memory 🙃)\n\n- `t.Helper()` is used in helper test functions so that if the test fails\n  the line number reported will be in our function call rather than inside\n  our test helper.\n- `slices` package includes the `Equal` method already.\n- `func x(numbers ...[]int)` is called a _Variadic Function_ and represents\n  a scenario when you can pass _n_ number of parameters of the same type\n- `%#v` prints the struct values in a `printf` format\n- In Go **interface resolution is implicit**. If the type you pass in\n  matches what the interface is asking for, it will compile.\n- The structs can be defined with his properties names so that the reading\n  can be easier: `{shape: Rectangle{Width: 12, Height: 6}, want: 72.0}`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslingercode%2Flearn-go-with-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslingercode%2Flearn-go-with-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslingercode%2Flearn-go-with-tests/lists"}