1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-04 23:55:22 +00:00
syncthing/cmd/stcli
Jakob Borg dd92b2b8f4
all: Tweak error creation ()
- In the few places where we wrap errors, use the new Go 1.13 "%w"
  construction instead of %s or %v.

- Where we create errors with constant strings, consistently use
  errors.New and not fmt.Errorf.

- Remove capitalization from errors in the few places where we had that.
2020-03-03 22:40:00 +01:00
..
client.go all: Tweak error creation () 2020-03-03 22:40:00 +01:00
errors.go all: Tweak error creation () 2020-03-03 22:40:00 +01:00
main.go cmd/*, lib/build: Set correct LongVersion (fixes ) () 2019-10-07 13:30:25 +02:00
operations.go all: Use new reflect based CLI () 2019-02-12 07:58:24 +01:00
show.go all: Use new reflect based CLI () 2019-02-12 07:58:24 +01:00
utils.go all: Remove dead code, fix lost msgLen checks () 2019-11-06 07:09:58 +01:00