{"id":20169107,"url":"https://github.com/shikha-code36/golang-tutorial-practice","last_synced_at":"2025-09-10T00:37:31.726Z","repository":{"id":233776608,"uuid":"787800987","full_name":"Shikha-code36/golang-tutorial-practice","owner":"Shikha-code36","description":"This is the repo of GO basic implementation for learning purpose.","archived":false,"fork":false,"pushed_at":"2024-04-20T15:52:32.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T15:17:21.568Z","etag":null,"topics":["go","go-language","go-module","go-modules","go-package","go-programming","go-tutorial","go-tutorials","golang","golang-module","golang-package"],"latest_commit_sha":null,"homepage":"","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/Shikha-code36.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":"2024-04-17T07:57:10.000Z","updated_at":"2024-04-20T15:52:36.000Z","dependencies_parsed_at":"2024-06-19T11:51:30.492Z","dependency_job_id":null,"html_url":"https://github.com/Shikha-code36/golang-tutorial-practice","commit_stats":null,"previous_names":["shikha-code36/golang-tutorial-practice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fgolang-tutorial-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fgolang-tutorial-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fgolang-tutorial-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shikha-code36%2Fgolang-tutorial-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shikha-code36","download_url":"https://codeload.github.com/Shikha-code36/golang-tutorial-practice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241605819,"owners_count":19989612,"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-language","go-module","go-modules","go-package","go-programming","go-tutorial","go-tutorials","golang","golang-module","golang-package"],"created_at":"2024-11-14T01:11:25.016Z","updated_at":"2025-03-03T04:13:13.146Z","avatar_url":"https://github.com/Shikha-code36.png","language":"Go","readme":"# Golang Tutorial\n\n## Introduction to Go\n\nGo, also known as Golang, is an open-source programming language developed by Google. It's known for its simplicity, strong static typing, and efficiency. Some of the main features of Go include:\n\n- **Concurrency**: Go has built-in support for concurrent programming with goroutines and channels.\n- **Garbage Collection**: Go manages memory automatically, freeing the developer from manual memory management.\n- **Fast Compilation**: Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection.\n\n## Package vs Module\n\nIn Go, a **package** is a collection of source files in the same directory that are compiled together. Functions, types, variables, or constants defined in one source file are visible to all other source files within the same package.\n\nA **module** is a collection of related Go packages that are released together. A Go module is defined by a `go.mod` file at the root of the module directory. This file defines the module path and its dependency requirements.\n\n## Initializing a Go Module\n\nTo initialize a new module, use the `go mod init` command followed by the module path. For example:\n\n```shell\ngo mod init github.com/Shikha-code36/golang-tutorial-practice\n```\n\nAfter running the command `go mod init github.com/Shikha-code36/golang-tutorial-practice`, a `go.mod` file will be created in the current directory. The module path will be set to `github.com/Shikha-code36/golang-tutorial-practice`.\n\n## Building and Running the Go Program\n\nOnce the module is initialized, you can build and run your Go program. This involves a few steps:\n\n1. **Building the Program**: This step compiles the Go source file `main.go` located in the `tutorial1` directory.\n\n```shell\ngo build tutorial1/main.go\n.\\main.exe\n```\n\n2. **Running the Program**: After building, you can run the resulting executable. Alternatively, you can directly run the program without creating an executable.\n\n```shell\ngo run tutorial1/main.go\n```\n\n### Topics covered:\n- [x] [Basics](tutorial1)\n- [x] [Constants Variables and Basic Data Types](tutorial2)\n- [x] [Functions and Control Structures](tutorial3)\n- [x] [Arrays, Slices, Maps and Loops](tutorial4)\n- [x] [Strings, Runes, and UTF-8 Encoding](tutorial5)\n- [x] [Structs and Interfaces](tutorial6)\n- [x] [Pointers](tutorial7)\n- [x] [Concurrency(Goroutines)](tutorial8)\n- [x] [Channels](tutorial9)\n- [x] [Generics](tutorial10)\n\nThis repository is for the references, anyone can feel free to use this.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshikha-code36%2Fgolang-tutorial-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshikha-code36%2Fgolang-tutorial-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshikha-code36%2Fgolang-tutorial-practice/lists"}