rubenv / rubenv/sql-migrate

Package not with "go install" installable

Open
#202 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3.4k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

Hi, I would like to use go install, but it didn't work.

$ go install github.com/rubenv/sql-migrate                                                                                                                                                          
go install: version is required when current directory is not in a module
        Try 'go install github.com/rubenv/sql-migrate@latest' to install the latest version

I needed to use the provided command from the docs, but it shows warnings.

$ go get github.com/rubenv/sql-migrate/...
go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, use 'go install' with a version,
        like 'go install example.com/cmd@latest'.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the documentation containing the provided go get github.com/rubenv/sql-migrate/... command and review the current Go installation guidance. Update the instructions so the documented installation command works without the reported deprecation warning, then verify the command shown in the docs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.