{"id":15035453,"url":"https://github.com/code-lucidal58/go_lang_basics","last_synced_at":"2026-04-08T14:02:53.588Z","repository":{"id":88633383,"uuid":"131510778","full_name":"code-lucidal58/go_lang_basics","owner":"code-lucidal58","description":"A complete guide to GoLang","archived":false,"fork":false,"pushed_at":"2021-06-16T18:27:58.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-30T23:34:05.382Z","etag":null,"topics":["go","golang","golang-basics","golang-examples","golang-tutorial"],"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/code-lucidal58.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":"2018-04-29T16:31:10.000Z","updated_at":"2022-03-16T16:22:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c6c3da2-258e-4dc0-a074-516be6e48c14","html_url":"https://github.com/code-lucidal58/go_lang_basics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code-lucidal58/go_lang_basics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lucidal58%2Fgo_lang_basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lucidal58%2Fgo_lang_basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lucidal58%2Fgo_lang_basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lucidal58%2Fgo_lang_basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-lucidal58","download_url":"https://codeload.github.com/code-lucidal58/go_lang_basics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-lucidal58%2Fgo_lang_basics/sbom","scorecard":{"id":295654,"data":{"date":"2025-08-11","repo":{"name":"github.com/code-lucidal58/go_lang_basics","commit":"12c13ad80d7c66de4317bf4ebdb2de11784da87a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T19:25:43.430Z","repository_id":88633383,"created_at":"2025-08-17T19:25:43.430Z","updated_at":"2025-08-17T19:25:43.430Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","golang-basics","golang-examples","golang-tutorial"],"created_at":"2024-09-24T20:28:43.627Z","updated_at":"2026-04-08T14:02:53.547Z","avatar_url":"https://github.com/code-lucidal58.png","language":"Go","readme":"# GoLangBasics\n\nGolang Notes from multiple sources.\n\nPre-requisite to understand the content\n- Knows any other programming language basics\n\nUsing Golang 1.16\n\n## Introduction to the language\nGo is a general purpose programming language. It is open source. It is NOT an object-oriented programming language. \nDue to its concurrency feature it is ideal for multi-core and networked machines. Best suited for modular\nsoftware designs. Compiles very quickly and performs runtime reflection. Developed\nby Google in 2007, announced in 2009 and stable version released in 2015. Go is a\ncase sensitive language.  \nGo is not an Object Oriented Programming Language.\n\n## Installing Go\nGo can be downloaded from https://golang.org/dl/ . The installer will append *PATH*\nvariable of the system with the directory path to go/bin. By default, the working directory\nis taken as $HOME/go. It set it something different from the convention, an environment\nvariable *GOPATH* needs to be created. For detailed steps for installation instructions,\nfollow this link https://golang.org/doc/install .\n\n## Go CLI commands\nBuilding a go file, creates an executable file, with the same name as the go file,\nin the same location. Suppose the script is ```main.go```. The executable can be\nexecuted in mac by writing ```./main``` and in windows by ```main.exe```.\nSome of the frequently used commands are:\n* **go build**: compiles go sources files.\n* **go run**: compiles and executes one or two files.\n* **go fmt**: formats all files in current directory.\n* **go install**: compiles and install a packages.\n* **go get**: downloads the raw source code of third party packages.\n* **go test**: runs any tests associated with current project.\n\n## Contents of the repository\n* [Introduction](./lets_go.md) contains introduction to packages, variables, data types, type aliasing, conversion and pointers.\n* [Loops and Conditions](./loop_and_conditionals.md) contains notes on `if` and `for` statements.\n* [Functions](./functions.md)  \n\n[hello](./single_page_scripts/hello.go), [data_structure](./single_page_scripts/data_structures.go),\nand [conditionals](./single_page_scripts/conditionals.go) contain scripts based on the concepts learned.\n\n* [Test](tests.md) contains notes on go unit tests\n* [File and Error handling](file_n_err_handling.md) contains a brief peek into the `file` and `os` packages.\n* [HTTP calls](http_calls.md) is about make HTTP calls and read the data received.\n\n[http_interface](./single_page_scripts/http_interface.go), [interface](./single_page_scripts/interfaces.go) \ncontain scripts based on the concepts learned.\n\nThere are some more scripts in the `single_page_scripts` directory. The file names are kept intuitive.  \n[Cards](./cards) is a simple project for dealing a set of cards.  \n[Knowledge Check](./single_page_scripts/knowledge_check.go) contains some logics that can challenge the reader's understanding.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-lucidal58%2Fgo_lang_basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-lucidal58%2Fgo_lang_basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-lucidal58%2Fgo_lang_basics/lists"}