{"id":21912070,"url":"https://github.com/nicolas-sabbatini/go-short","last_synced_at":"2026-04-16T07:34:07.977Z","repository":{"id":198106718,"uuid":"697521987","full_name":"nicolas-sabbatini/go-short","owner":"nicolas-sabbatini","description":"This is the implementation of the second exercise of the Gophercises course","archived":false,"fork":false,"pushed_at":"2023-10-04T11:15:49.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T08:42:49.753Z","etag":null,"topics":["go","go-server","go-sqlite3","golang","golang-application","gopher","gophercises","sqlite","sqlite3","url-shortener"],"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/nicolas-sabbatini.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}},"created_at":"2023-09-27T22:54:07.000Z","updated_at":"2023-10-04T11:17:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c0e252e-ff54-49cf-a819-886dfaad7a7f","html_url":"https://github.com/nicolas-sabbatini/go-short","commit_stats":null,"previous_names":["nicolas-sabbatini/go-short"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-sabbatini%2Fgo-short","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-sabbatini%2Fgo-short/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-sabbatini%2Fgo-short/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolas-sabbatini%2Fgo-short/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolas-sabbatini","download_url":"https://codeload.github.com/nicolas-sabbatini/go-short/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244930461,"owners_count":20533989,"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-server","go-sqlite3","golang","golang-application","gopher","gophercises","sqlite","sqlite3","url-shortener"],"created_at":"2024-11-28T18:08:33.934Z","updated_at":"2026-04-16T07:34:02.940Z","avatar_url":"https://github.com/nicolas-sabbatini.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GO short\n## Description\nThis is the implementation of the secong exercise of the [Gophercises](https://gophercises.com/) course.  \nThe exercise is about creating a URL shortener.\nThe proyect has 3 binaris that can be used:\n- `cmd/go-short/go-short.go`: This is the first exercice from the course a shorter handle from a YAML.\n- `cmd/go-short-v2/go-short-v2.go`: This is the second exercice from the course a shorter handle from a JSON.\n- `cmd/go-short-sql/go-short-sql.go`: This is the third exercice from the course a shorter handle from a Data base.\nAnd has 2 packages:\n- `pkg/url-short/url-short.go`: This package has the logic of the shortener from a static file.\n- `pkg/sqlite-url-short/sqlite-url-short.go`: This package has the logic of the the shortener from a SQLitle.\n\n## Usage\n```bash\ngo run {{binary option}}\n```\n\n## Examples\n```bash\ngo run cmd/go-short/go-short.go\n```\n```bash\ngo run cmd/go-short-v2/go-short-v2.go\n```\n```bash\ngo run cmd/go-short-sql/go-short-sql.go\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolas-sabbatini%2Fgo-short","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolas-sabbatini%2Fgo-short","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolas-sabbatini%2Fgo-short/lists"}