mirror of
https://github.com/hanzoai/migrate.git
synced 2026-09-30 22:55:10 +00:00
go fix applied the modernizers. One rewrite it got wrong is corrected here: a reverse loop over runes became a range over slices.Backward that bound the index and the value to the SAME name, which does not compile and would have compared a rune to an index if it had. The value gets its own name. Co-authored-by: Hanzo Dev <[email protected]>
gitlab
gitlab://user:personal-access-token@gitlab_url/project_id/path#ref
| URL Query | WithInstance Config | Description |
|---|---|---|
| user | The username of the user connecting | |
| personal-access-token | An access token from Gitlab (https://<gitlab_url>/profile/personal_access_tokens) | |
| gitlab_url | url of the gitlab server | |
| project_id | id of the repository | |
| path | path in repo to migrations | |
| ref | (optional) can be a SHA, branch, or tag |