sqls icon indicating copy to clipboard operation
sqls copied to clipboard

Deprecated install via `go get`

Open tanj opened this issue 2 years ago • 2 comments

Describe the bug Installing via go get gives the message go get: installing executables with 'go get' in module mode is deprecated.

To Reproduce Steps to reproduce the behavior:

  1. go get github.com/lighttiger2505/sqls

Expected behavior No deprecated install message

Versions (please complete the following information):

  • OS Version: Microsoft Windows 10 Pro Version 10.0.19043 Build 19043
  • sqls Version 413ed89
  • go version go1.17.2 windows/amd64

Install Messages

 % /c/Program\ Files/Go/bin/go get github.com/lighttiger2505/sqls
go: downloading github.com/lighttiger2505/sqls v0.2.19
go: downloading github.com/sourcegraph/jsonrpc2 v0.1.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/go-sql-driver/mysql v1.6.0
go: downloading github.com/jackc/pgx/v4 v4.12.0
go: downloading github.com/mattn/go-sqlite3 v1.14.8
go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/jackc/pgtype v1.8.0
go: downloading github.com/jackc/pgconn v1.9.0
go: downloading github.com/jackc/pgproto3/v2 v2.1.1
go: downloading github.com/jackc/pgio v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/chunkreader/v2 v2.0.1
go: downloading golang.org/x/text v0.3.6
go: downloading github.com/jackc/pgproto3 v1.1.0
go: downloading github.com/jackc/chunkreader v1.0.0
go: downloading golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

tanj avatar Oct 21 '21 18:10 tanj

@tanj Perhaps you could use go install github.com/lighttiger2505/sqls@latest instead.

alexhokl avatar Oct 30 '21 10:10 alexhokl

I can confirm this can be fixed by https://github.com/lighttiger2505/sqls/pull/97

  • go version go1.18.3 linux/amd64
  • sqls version: v0.2.20

bootleq avatar Jun 18 '22 02:06 bootleq

This is already fixed.

mattn avatar Dec 30 '23 04:12 mattn