{"id":20332992,"url":"https://github.com/rayspock/mastering-go-examples","last_synced_at":"2026-06-11T09:31:48.873Z","repository":{"id":119511798,"uuid":"533077866","full_name":"rayspock/mastering-go-examples","owner":"rayspock","description":"This repository contains code examples for the blog posts","archived":false,"fork":false,"pushed_at":"2024-02-18T18:17:26.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T12:46:15.884Z","etag":null,"topics":["blog","education","go","golang","learning","programming"],"latest_commit_sha":null,"homepage":"https://blog.rayspock.com/","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/rayspock.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":"2022-09-05T22:24:52.000Z","updated_at":"2024-06-07T10:36:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfb2a265-2934-44e7-b09c-ca2a8e169c09","html_url":"https://github.com/rayspock/mastering-go-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rayspock/mastering-go-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayspock%2Fmastering-go-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayspock%2Fmastering-go-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayspock%2Fmastering-go-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayspock%2Fmastering-go-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayspock","download_url":"https://codeload.github.com/rayspock/mastering-go-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayspock%2Fmastering-go-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34192870,"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-11T02:00:06.485Z","response_time":57,"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":["blog","education","go","golang","learning","programming"],"created_at":"2024-11-14T20:28:58.311Z","updated_at":"2026-06-11T09:31:48.851Z","avatar_url":"https://github.com/rayspock.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Code Examples for the [Blog Posts](https://blog.rayspock.com/)\n\nThis repository contains code examples for the blog posts on [Rayspock](https://blog.rayspock.com/). The code examples\nare written in Go and are designed to help you learn Go by example.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Code Examples](#code-examples)\n- [Contributing](#contributing)\n\n## Getting Started\n\nTo get started with the repository, simply clone or download the code examples and open them in your favorite text\neditor or IDE.\n\nBefore running the examples, make sure you have Go installed on your machine. You can download and install the latest\nversion of Go from the official website at https://golang.org.\n\nTo run the code examples, simply navigate to the directory containing the code example and run the following command:\n\n```bash\n# Run the code example\n$ go run \u003cfilename\u003e.go\n# Run the tests\n$ go test -race -cover \u003cdirectory\u003e -v \n```\n\n## Code Examples\n\nThe code examples are organized into directories based on the blog post they are associated with.\nThe following table lists the blog posts and the code examples associated with each post.\n\n| Blog Post                                                                                                                                                        | Code Examples                            |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|\n| [Things You Need to Know Before Working With Go Pipelines](https://blog.rayspock.com/things-you-need-to-know-before-working-with-go-pipelines)                   | [pipeline](./pipeline/pipeline.go)       |\n| [Unleashing the power of Go: How to Unmarshal Dynamic JSON](https://blog.rayspock.com/unleashing-the-power-of-go-how-to-unmarshal-dynamic-json)                  | [unmarshaljson](./json/unmarshaljson.go) |\n| [One Thing You Might Overlook When Reading Response Body in Golang](https://blog.rayspock.com/one-thing-you-might-overlook-when-reading-response-body-in-golang) | [client](./stream/client.go)             |\n\n## Contributing\n\nWelcome any kind of contribution to this repository. If you have any suggestions or ideas for improving the code\nexamples or best practices, please feel free to open an issue or submit a pull request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayspock%2Fmastering-go-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayspock%2Fmastering-go-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayspock%2Fmastering-go-examples/lists"}