{"id":24783492,"url":"https://github.com/j0rgeserran0/golang-introduction-samples","last_synced_at":"2025-08-10T23:47:04.336Z","repository":{"id":81626476,"uuid":"329957251","full_name":"J0rgeSerran0/golang-introduction-samples","owner":"J0rgeSerran0","description":"Basic samples to learn Go","archived":false,"fork":false,"pushed_at":"2021-01-29T06:00:02.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-11T08:07:07.359Z","etag":null,"topics":["basic","basic-learning","go","goland","programming","samples"],"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/J0rgeSerran0.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":"2021-01-15T15:57:50.000Z","updated_at":"2021-01-29T06:00:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6f59a8a-dc98-4940-868b-8d93ca0f0774","html_url":"https://github.com/J0rgeSerran0/golang-introduction-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/J0rgeSerran0/golang-introduction-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0rgeSerran0%2Fgolang-introduction-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0rgeSerran0%2Fgolang-introduction-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0rgeSerran0%2Fgolang-introduction-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0rgeSerran0%2Fgolang-introduction-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J0rgeSerran0","download_url":"https://codeload.github.com/J0rgeSerran0/golang-introduction-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0rgeSerran0%2Fgolang-introduction-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269808838,"owners_count":24478510,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["basic","basic-learning","go","goland","programming","samples"],"created_at":"2025-01-29T12:17:16.822Z","updated_at":"2025-08-10T23:47:04.297Z","avatar_url":"https://github.com/J0rgeSerran0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Go** Introduction Samples\nIntroduction and basic samples to practice and learn with **Go**\n\n[\u003cimg src=\"images/gopher.jpg\" width=\"120\"/\u003e](images/gopher.jpg)\n\nThis repo has been created to help you to adopt **Go** and learn about it\n\n[Spanish - (Blog) Introducción a Go o Golang](https://geeks.ms/jorge/2021/01/15/introduccion-a-go-o-golang/)\n\n\n# Features of **Go**\n\nSome of the most important features of **Go** are:\n\n- manages the memory for us\n- has been created thinking in the concurrency paradigm\n- compile to standalone binaries (not interpreted)\n- is fast in compilation times (giving us a quick feedback about errors or problems)\n- is simple to use\n- is strongly typed\n- is statically typed \n\n\n# First steps\n\nIf you have not installed *Go* on your computer, please... follow this steps\n\n1) [**Download Go**](https://golang.org/doc/install)\n2) Install it!\n3) Open your terminal or command prompt and write\n\n``` go\ngo version\n```\n\nYou should see information about **Go** and the version installed on your computer \n\n## **Go** file extension\n\nAll your Go files should have the extension **.go**\n\nFor example:\n\n``` Go\nmain.go\n```\n\n## Basic **Go** commands\n\nThere are a lot of commands inside of *Go*\n\nThe basic commands that you will be use for sure are:\n\n* To execute your code:\n\n``` Go\ngo run main.go\n```\n\n* To build your code in a standalone binary:\n\n``` Go\ngo build\n```\n\n\n## Write you own **Go** programs!\n\nUse some editor to create or modify the samples\n\n- [Atom](https://atom.io/) is a good tool to do it\n\n- [Visual Studio Code](https://code.visualstudio.com/) ins another very good tool (*is the tool that I use really*)\n\nThe most important here is to use the tool that you want and to be comfortable with it\n\nOne important thing here\n\n\u003e **If you want to use Visual Code as me, don't forget install the [*Go for Visual Studio Code extension*](https://marketplace.visualstudio.com/items?itemName=golang.go)** *This extension for Visual Studio Code is not necessary but helps*\n\nBut if you want to run your *Go* code without install anything... you can!\n\nYou can test your *Go* code in the official web site, or in [*Go Playground* directly](https://play.golang.org/)\n\n\n# Samples\n\n\u003e [**Complete source code here src**](src/)\n\nIn *Go Playground*:\n\n- [Hello Go-rld](https://play.golang.org/p/krbWvuOZuT7)\n- [Go - Variables](https://play.golang.org/p/WQbcgSWHV56)\n- [Go - DataTypes](https://play.golang.org/p/dYvgXL2mLTV)\n- [Go - Constants](https://play.golang.org/p/sGqO55JbWNJ)\n- [Go - Operators](https://play.golang.org/p/5H97epegqTU)\n- [Go - Arrays](https://play.golang.org/p/n-fv6E88qCz)\n\n# Resources\n\n* [Official Golang Web Site](https://golang.org/)\n* [Downloading an expecific version](https://golang.org/dl/)\n* [Go Language Specification](https://golang.org/ref/spec)\n* [Go Packages](https://golang.org/pkg/)\n* [Go Playground](https://play.golang.org/)\n* [Go Bridge](https://github.com/gobridge/about-us/blob/master/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj0rgeserran0%2Fgolang-introduction-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj0rgeserran0%2Fgolang-introduction-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj0rgeserran0%2Fgolang-introduction-samples/lists"}