{"id":20548109,"url":"https://github.com/lusingander/gokui","last_synced_at":"2026-04-21T13:33:43.970Z","repository":{"id":230664868,"uuid":"677666189","full_name":"lusingander/gokui","owner":"lusingander","description":"my sql utilities","archived":false,"fork":false,"pushed_at":"2023-08-12T08:16:22.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T13:04:17.205Z","etag":null,"topics":["cli","mysql","sql"],"latest_commit_sha":null,"homepage":"","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/lusingander.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":"2023-08-12T08:15:44.000Z","updated_at":"2023-08-12T11:02:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"5864dd10-9e53-4151-a332-557929deb92d","html_url":"https://github.com/lusingander/gokui","commit_stats":null,"previous_names":["lusingander/gokui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lusingander/gokui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Fgokui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Fgokui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Fgokui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Fgokui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lusingander","download_url":"https://codeload.github.com/lusingander/gokui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lusingander%2Fgokui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32094582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"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":["cli","mysql","sql"],"created_at":"2024-11-16T02:12:12.879Z","updated_at":"2026-04-21T13:33:43.926Z","avatar_url":"https://github.com/lusingander.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gokui\n\nmy sql utilities\n\n## Installation\n\n```\n$ go install github.com/lusingander/gokui@latest\n```\n\n(require Go 1.20+)\n\n## Usage\n\n### `generate` command\n\n```\n$ cat create.sql \nCREATE TABLE users (\n    user_id VARCHAR(256) NOT NULL COMMENT 'user id',\n    name VARCHAR(256),\n    age INT UNSIGNED NOT NULL,\n    created_at DATETIME(6) NOT NULL,\n    primary key (user_id)\n);\n\n$ cat create.sql | gokui generate select --newline\nSELECT\n  user_id,\n  name,\n  age,\n  created_at\nFROM\n  users\n;\n\n$ cat create.sql | gokui generate insert --newline --insert-select\nINSERT INTO users\n(\n  user_id,\n  name,\n  age,\n  created_at\n)\nSELECT\n  user_id,\n  name,\n  age,\n  created_at\nFROM\n  users\n;\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flusingander%2Fgokui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flusingander%2Fgokui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flusingander%2Fgokui/lists"}