syncthing/lib/relay/protocol
Jakob Borg dd92b2b8f4
all: Tweak error creation (#6391)
- 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
..
empty_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
packets_xdr.go Use v2 of XDR package (auto generated) 2016-02-02 12:44:33 +01:00
packets.go all: Become a Go module (fixes #5148) (#5384) 2018-12-18 12:36:38 +01:00
protocol.go all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00