{"id":15882295,"url":"https://github.com/wendelladriel/go-native-packages-talk","last_synced_at":"2025-07-15T09:05:54.195Z","repository":{"id":90777839,"uuid":"114255362","full_name":"WendellAdriel/go-native-packages-talk","owner":"WendellAdriel","description":"Simple example created to use in a talk","archived":false,"fork":false,"pushed_at":"2020-09-02T06:03:50.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T15:04:07.930Z","etag":null,"topics":["boilerplate","example","golang","server","talk"],"latest_commit_sha":null,"homepage":null,"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/WendellAdriel.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":"2017-12-14T13:43:22.000Z","updated_at":"2023-11-13T23:46:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b1727d9-aec7-416c-b989-4ad6a9cff5d7","html_url":"https://github.com/WendellAdriel/go-native-packages-talk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WendellAdriel/go-native-packages-talk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Fgo-native-packages-talk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Fgo-native-packages-talk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Fgo-native-packages-talk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Fgo-native-packages-talk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WendellAdriel","download_url":"https://codeload.github.com/WendellAdriel/go-native-packages-talk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WendellAdriel%2Fgo-native-packages-talk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265424347,"owners_count":23762880,"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":["boilerplate","example","golang","server","talk"],"created_at":"2024-10-06T04:02:28.188Z","updated_at":"2025-07-15T09:05:54.004Z","avatar_url":"https://github.com/WendellAdriel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Native Packages Talk\r\n\r\n\u003e Simple example created to use in a talk\r\n\r\n## How to use\r\n\r\n- Clone this repo and enter it\r\n\r\n- Run the `build.sh` script, it will create three binaries for the application (**windows/amd64** **windows/386** **darwin/amd64**) inside a `builds/` directory\r\n\r\n- If you pass a name to the `build` script, it will use it to create your binaries. Ex: If you run the script like this: `build.sh myapp` it will create: **myapp_windows_amd64.exe**, **myapp_windows_386.exe** and **myapp_darwin_amd64**, otherwise it will use **my-go-server** as the default name.\r\n\r\n- While the **HTTP Server** is running you can stop it with `Ctrl + C` in the terminal. It will shutdown the server gracefully.\r\n\r\n## Commands available\r\n\r\nBelow is a list of commands you can use. The examples will use the default app name: **my-go-server**, if you built it with a **custom name**, use it instead of the default to run the commands.\r\n\r\n- To show the application info (version, name, etc) run:\r\n\r\n```\r\nbuilds/my-go-server -version\r\nOR\r\nbuilds/my-go-server -v\r\n```\r\n\r\n- To show the application options run:\r\n\r\n```\r\nbuilds/my-go-server -help\r\nOR\r\nbuilds/my-go-server -h\r\n```\r\n\r\n- To start the **HTTP Server** at the default port (defined at `config/config.go`) run:\r\n\r\n```\r\nbuilds/my-go-server -start\r\nOR\r\nbuilds/my-go-server -s\r\n```\r\n\r\n- To start the **HTTP Server** at a custom port run (like 5000):\r\n\r\n```\r\nbuilds/my-go-server -start -port 5000\r\nOR\r\nbuilds/my-go-server -s -p 5000\r\n```\r\n\r\n## Contributing\r\n\r\nBug reports and pull requests are welcome on GitHub at https://github.com/WendellAdriel/go-native-packages-talk/.\r\nThis project is intended to be a safe, welcoming space for collaboration.\r\n\r\n## License\r\n\r\nThis project is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelladriel%2Fgo-native-packages-talk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendelladriel%2Fgo-native-packages-talk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelladriel%2Fgo-native-packages-talk/lists"}