Upgrade to Go 1.18 and update dependencies (#221)

pull/234/head
Mickaël Menu 2 years ago committed by GitHub
parent 4b76fbadf1
commit 68e6b70eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16
go-version: 1.18
- name: Install dependencies
run: |

@ -70,7 +70,7 @@ sudo pacman -S zk
### Build from scratch
Make sure you have a working [Go installation](https://golang.org/), then clone the repository:
Make sure you have a working [Go 1.18+ installation](https://golang.org/), then clone the repository:
```sh
$ git clone https://github.com/mickael-menu/zk.git

@ -1,39 +1,56 @@
module github.com/mickael-menu/zk
go 1.15
go 1.18
replace github.com/tliron/glsp => github.com/mickael-menu/glsp v0.1.1
require (
github.com/AlecAivazis/survey/v2 v2.3.2
github.com/alecthomas/kong v0.2.18-0.20210927063154-5c7b038540ab
github.com/AlecAivazis/survey/v2 v2.3.4
github.com/alecthomas/kong v0.5.0
github.com/aymerick/raymond v2.0.2+incompatible
github.com/bmatcuk/doublestar/v4 v4.0.2 // indirect
github.com/bmatcuk/doublestar/v4 v4.0.2
github.com/fatih/color v1.13.0
github.com/go-testfixtures/testfixtures/v3 v3.4.1
github.com/google/go-cmp v0.5.6
github.com/gosimple/slug v1.10.0
github.com/go-testfixtures/testfixtures/v3 v3.6.2
github.com/google/go-cmp v0.5.8
github.com/gosimple/slug v1.12.0
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/lestrrat-go/strftime v1.0.5
github.com/mattn/go-colorable v0.1.11 // indirect
github.com/lestrrat-go/strftime v1.0.6
github.com/mattn/go-isatty v0.0.14
github.com/mattn/go-sqlite3 v1.14.8
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/mickael-menu/pretty v0.2.3
github.com/mvdan/xurls v1.1.0
github.com/pelletier/go-toml v1.9.4
github.com/pelletier/go-toml v1.9.5
github.com/relvacode/iso8601 v1.1.0
github.com/rogpeppe/go-internal v1.6.2 // indirect
github.com/rvflash/elapsed v0.2.0
github.com/schollz/progressbar/v3 v3.8.3
github.com/schollz/progressbar/v3 v3.8.6
github.com/tj/go-naturaldate v1.3.0
github.com/tliron/glsp v0.0.0-20210824162824-d103e5701036
github.com/tliron/kutil v0.1.49
github.com/yuin/goldmark v1.4.1
github.com/yuin/goldmark-meta v1.0.0
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/sys v0.0.0-20211002104244-808efd93c36d // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
github.com/tliron/glsp v0.1.1
github.com/tliron/kutil v0.1.59
github.com/yuin/goldmark v1.4.12
github.com/yuin/goldmark-meta v1.1.0
gopkg.in/djherbis/times.v1 v1.3.0
)
require (
github.com/gorilla/websocket v1.5.0 // indirect
github.com/gosimple/unidecode v1.0.1 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/petermattis/goid v0.0.0-20220526132513-07eaf5d0b9f4 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rogpeppe/go-internal v1.8.1 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
github.com/sourcegraph/jsonrpc2 v0.1.0 // indirect
github.com/zchee/color/v2 v2.0.6 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

1471
go.sum

File diff suppressed because it is too large Load Diff

@ -22,35 +22,37 @@ $ zk graph --help
> -q, --quiet Do not print the total number of notes found.
>
>Filtering
> -i, --interactive Select notes interactively with fzf.
> -n, --limit=COUNT Limit the number of notes found.
> -m, --match=QUERY Terms to search for in the notes.
> -M, --match-strategy="fts" Text matching strategy among: fts, re, exact.
> -x, --exclude=PATH,... Ignore notes matching the given path, including
> its descendants.
> -t, --tag=TAG,... Find notes tagged with the given tags.
> --mention=PATH,... Find notes mentioning the title of the given
> ones.
> --mentioned-by=PATH,... Find notes whose title is mentioned in the
> given ones.
> -l, --link-to=PATH,... Find notes which are linking to the given ones.
> --no-link-to=PATH,... Find notes which are not linking to the given
> notes.
> -L, --linked-by=PATH,... Find notes which are linked by the given ones.
> --no-linked-by=PATH,... Find notes which are not linked by the given
> ones.
> --orphan Find notes which are not linked by any other
> note.
> --related=PATH,... Find notes which might be related to the given
> ones.
> --max-distance=COUNT Maximum distance between two linked notes.
> -r, --recursive Follow links recursively.
> -i, --interactive Select notes interactively with fzf.
> -n, --limit=COUNT Limit the number of notes found.
> -m, --match=QUERY Terms to search for in the notes.
> -M, --match-strategy=STRATEGY Text matching strategy among: fts, re, exact.
> -x, --exclude=PATH,... Ignore notes matching the given path,
> including its descendants.
> -t, --tag=TAG,... Find notes tagged with the given tags.
> --mention=PATH,... Find notes mentioning the title of the given
> ones.
> --mentioned-by=PATH,... Find notes whose title is mentioned in the
> given ones.
> -l, --link-to=PATH,... Find notes which are linking to the given
> ones.
> --no-link-to=PATH,... Find notes which are not linking to the given
> notes.
> -L, --linked-by=PATH,... Find notes which are linked by the given
> ones.
> --no-linked-by=PATH,... Find notes which are not linked by the given
> ones.
> --orphan Find notes which are not linked by any other
> note.
> --related=PATH,... Find notes which might be related to the
> given ones.
> --max-distance=COUNT Maximum distance between two linked notes.
> -r, --recursive Follow links recursively.
> --created=DATE
> --created-before=DATE Find notes created before the given date.
> --created-after=DATE Find notes created after the given date.
> --modified=DATE Find notes modified on the given date.
> --modified-before=DATE Find notes modified before the given date.
> --modified-after=DATE Find notes modified after the given date.
> --created-before=DATE Find notes created before the given date.
> --created-after=DATE Find notes created after the given date.
> --modified=DATE Find notes modified on the given date.
> --modified-before=DATE Find notes modified before the given date.
> --modified-after=DATE Find notes modified after the given date.
>
>Sorting
> -s, --sort=TERM,... Order the notes by the given criterion.

@ -30,35 +30,37 @@ $ zk list --help
> -q, --quiet Do not print the total number of notes found.
>
>Filtering
> -i, --interactive Select notes interactively with fzf.
> -n, --limit=COUNT Limit the number of notes found.
> -m, --match=QUERY Terms to search for in the notes.
> -M, --match-strategy="fts" Text matching strategy among: fts, re, exact.
> -x, --exclude=PATH,... Ignore notes matching the given path, including
> its descendants.
> -t, --tag=TAG,... Find notes tagged with the given tags.
> --mention=PATH,... Find notes mentioning the title of the given
> ones.
> --mentioned-by=PATH,... Find notes whose title is mentioned in the
> given ones.
> -l, --link-to=PATH,... Find notes which are linking to the given ones.
> --no-link-to=PATH,... Find notes which are not linking to the given
> notes.
> -L, --linked-by=PATH,... Find notes which are linked by the given ones.
> --no-linked-by=PATH,... Find notes which are not linked by the given
> ones.
> --orphan Find notes which are not linked by any other
> note.
> --related=PATH,... Find notes which might be related to the given
> ones.
> --max-distance=COUNT Maximum distance between two linked notes.
> -r, --recursive Follow links recursively.
> -i, --interactive Select notes interactively with fzf.
> -n, --limit=COUNT Limit the number of notes found.
> -m, --match=QUERY Terms to search for in the notes.
> -M, --match-strategy=STRATEGY Text matching strategy among: fts, re, exact.
> -x, --exclude=PATH,... Ignore notes matching the given path,
> including its descendants.
> -t, --tag=TAG,... Find notes tagged with the given tags.
> --mention=PATH,... Find notes mentioning the title of the given
> ones.
> --mentioned-by=PATH,... Find notes whose title is mentioned in the
> given ones.
> -l, --link-to=PATH,... Find notes which are linking to the given
> ones.
> --no-link-to=PATH,... Find notes which are not linking to the given
> notes.
> -L, --linked-by=PATH,... Find notes which are linked by the given
> ones.
> --no-linked-by=PATH,... Find notes which are not linked by the given
> ones.
> --orphan Find notes which are not linked by any other
> note.
> --related=PATH,... Find notes which might be related to the
> given ones.
> --max-distance=COUNT Maximum distance between two linked notes.
> -r, --recursive Follow links recursively.
> --created=DATE
> --created-before=DATE Find notes created before the given date.
> --created-after=DATE Find notes created after the given date.
> --modified=DATE Find notes modified on the given date.
> --modified-before=DATE Find notes modified before the given date.
> --modified-after=DATE Find notes modified after the given date.
> --created-before=DATE Find notes created before the given date.
> --created-after=DATE Find notes created after the given date.
> --modified=DATE Find notes modified on the given date.
> --modified-before=DATE Find notes modified before the given date.
> --modified-after=DATE Find notes modified after the given date.
>
>Sorting
> -s, --sort=TERM,... Order the notes by the given criterion.

Loading…
Cancel
Save