{"id":19241231,"url":"https://github.com/binocarlos/go-go-gadget","last_synced_at":"2026-06-20T05:32:15.385Z","repository":{"id":27545336,"uuid":"31026871","full_name":"binocarlos/go-go-gadget","owner":"binocarlos","description":"Install a cross-compiling go development environment","archived":false,"fork":false,"pushed_at":"2015-02-19T17:21:54.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T14:33:52.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/binocarlos.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}},"created_at":"2015-02-19T17:20:37.000Z","updated_at":"2015-02-19T17:21:54.000Z","dependencies_parsed_at":"2022-09-02T11:11:01.027Z","dependency_job_id":null,"html_url":"https://github.com/binocarlos/go-go-gadget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binocarlos/go-go-gadget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fgo-go-gadget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fgo-go-gadget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fgo-go-gadget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fgo-go-gadget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binocarlos","download_url":"https://codeload.github.com/binocarlos/go-go-gadget/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binocarlos%2Fgo-go-gadget/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34558894,"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-20T02:00:06.407Z","response_time":98,"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":[],"created_at":"2024-11-09T17:10:45.817Z","updated_at":"2026-06-20T05:32:15.371Z","avatar_url":"https://github.com/binocarlos.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-go-gadget\n------------\n\nInstallation instructions for getting a cross-compiling go development environment to work.\n\n## install\n\nFirst you clone this repository and then:\n\n```bash\n$ sudo bash ./install.sh\n```\n\n## notes\n\nThe install script does the following steps:\n\n * install the package managers used by go (mercurial, subversion, bzr, git)\n * clone the go source code into $GO_CODE (/srv/projects/gocode)\n * checkout the $GO_VERSION (1.4.1)\n * build the go binaries for GOOS=darwin\n * build the go binaries for GOOS=linux\n * setup the environment with:\n   * GOROOT - $GO_BUILD\n   * GOPATH - $GO_PATH\n   * GOBIN - $GO_CODE/bin\n   * PATH - $PATH:$GO_BUILD/bin\n * change ownership of $GO_BUILD/src and $GO_CODE to the user\n\n## compiling\n\nTo compile a package against darwin and linux - here is a simple Makefile format:\n\n```\nNAME=powerstrip\nVERSION=0.1.0\n\nbuild:\n  mkdir -p build/linux  \u0026\u0026 CGO_ENABLED=0 GOOS=linux  \\\n    go build -ldflags \"-X main.Version $(VERSION)\" -o build/linux/$(NAME)\n  mkdir -p build/darwin \u0026\u0026 CGO_ENABLED=0 GOOS=darwin \\\n    go build -ldflags \"-X main.Version $(VERSION)\" -o build/darwin/$(NAME)\n```\n\n## licence\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinocarlos%2Fgo-go-gadget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinocarlos%2Fgo-go-gadget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinocarlos%2Fgo-go-gadget/lists"}