{"id":15294991,"url":"https://github.com/forhadulislam/learn-go-with-examples","last_synced_at":"2026-02-22T18:37:07.925Z","repository":{"id":148559853,"uuid":"207391513","full_name":"forhadulislam/learn-go-with-examples","owner":"forhadulislam","description":"Learn Golang with basic examples","archived":false,"fork":false,"pushed_at":"2025-04-16T22:28:48.000Z","size":138,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T05:12:22.266Z","etag":null,"topics":["go","go-lang","go-template","go-tutorial","go-tutorials","golang","golang-examples"],"latest_commit_sha":null,"homepage":"","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/forhadulislam.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":"2019-09-09T19:47:00.000Z","updated_at":"2024-12-12T09:34:57.000Z","dependencies_parsed_at":"2023-11-30T11:24:59.098Z","dependency_job_id":"59789697-4228-4946-b98f-262334eb399c","html_url":"https://github.com/forhadulislam/learn-go-with-examples","commit_stats":{"total_commits":98,"total_committers":4,"mean_commits":24.5,"dds":0.3163265306122449,"last_synced_commit":"ec2c36efedd060a4ab2369713712c65b57786630"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forhadulislam%2Flearn-go-with-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forhadulislam%2Flearn-go-with-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forhadulislam%2Flearn-go-with-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forhadulislam%2Flearn-go-with-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forhadulislam","download_url":"https://codeload.github.com/forhadulislam/learn-go-with-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252817655,"owners_count":21808707,"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":["go","go-lang","go-template","go-tutorial","go-tutorials","golang","golang-examples"],"created_at":"2024-09-30T17:08:13.535Z","updated_at":"2025-10-08T06:09:27.229Z","avatar_url":"https://github.com/forhadulislam.png","language":"Go","readme":"## Learn Go with examples\n\nLearn Golang with real examples. This repo contains example codes for Go beginners. \nThe examples provide a better understanding of using Go features. \nHere are the list of examples:\n\n    1.  Variables\n    2.  Slices \u0026 Maps\n    3.  Loops\n    4.  Pointers\n    5.  Structs\n    6.  Methods\n    7.  Error\n    8.  Interface\n    9.  Goroutines\n    10. Channels    \n    11. Closure    \n    12. JsonHandler\n    13. Mutex\n    14. httptest\n    15. StringBuilder\n    16. Files and IO\n    17. Time and Date\n    18. OS\n    19. Atomic counters\n    20. Worker pools\n    21. Ticker\n    22. Timer\n    23. Reflect\n    24. Template\n    25. Advanced template\n    26. Crypto\n    27. Callback\n    28. Patterns\n    29. Viper\n    30. Cobra\n    31. regex\n    32. Encoding\n    33. gRPC\n    34. Race condition\n    35. gjson\n    36. Expomential backoff\n    37. mock with interfaces\n    38. httpmock\n    39. Generics (Upcoming)\n\n### How to run the examples\n\nYou can run the example files if you have Go installed in your system. Here is an example of running examples - \n\n    go run 01.Variables/example.go\n\nTested on: Go version `1.20.5`\n\n### How to install dependencies\n\nOn the root of the project, run the following command - \n\n    go mod vendor\n\n### How can the examples help\n\nThe best way to utilize the examples is to clone the repo and play with the parameters in your local environment. \nYou can also run the examples easily and see the output from whatever IDEs you are using.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforhadulislam%2Flearn-go-with-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforhadulislam%2Flearn-go-with-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforhadulislam%2Flearn-go-with-examples/lists"}