Marc-Antoine Ruel
9b7814b7f9
Update dependencies
4 years ago
hansmi
02831f4a67
Bump Go version in go.mod and for quick tests to 1.14 ( #29 )
...
Go 1.13 was released in September 2019, more than two years ago.
Updating to one later release should be fine.
The primary reason for doing this is the introduction of
"testing".T.Cleanup in Go 1.14 (https://pkg.go.dev/testing#T.Cleanup ).
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
5 years ago
hansmi
d09d487465
Remove dependencies on fogleman/gg and golang/freetype ( #28 )
...
The waveshare2in13v2 example was evidently copied from the epd example,
but didn't comment out the code pulling in additional dependencies.
5 years ago
Marc-Antoine Ruel
47f3fec45d
go.mod: update dependencies
5 years ago
Marc-Antoine Ruel
0b81efc55a
Roll dependencies
5 years ago
Marc-Antoine Ruel
94908ff801
screen1d: import from periph/extra
...
Tweak it a bit to expose the palette as an option.
Uses the same license.
This is the first commit that causes a dependency on golang.org/x/sys.
5 years ago
Dan Kortschak
960e8d343b
waveshare2in13v2: add example ( #8 )
5 years ago
Marc-Antoine Ruel
2dc230abd8
go.mod: update for v3.6.7
5 years ago
Marc-Antoine Ruel
402bbcc930
Migrate to devices/v3
...
Ran:
git ls-files -z -- . | xargs -0 -L 1 sed -i 's#periph\.io/x/conn#periph.io/x/conn/v3#g'
git ls-files -z -- . | xargs -0 -L 1 sed -i 's#periph\.io/x/host#periph.io/x/host/v3#g'
git ls-files -z -- . | xargs -0 -L 1 sed -i 's#periph\.io/x/devices#periph.io/x/devices/v3#g'
go test ./...
go mod tidy
5 years ago
Marc-Antoine Ruel
50dea9a963
go.mod: update host with fixes
5 years ago
Marc-Antoine Ruel
af14a1f7d2
go.mod: update conn and host for driverreg
5 years ago
Marc-Antoine Ruel
655d1cef69
Update import path to what devices will be
...
Also update imports to conn and host.
Ran (roughly):
# Update the references.
git ls-files -- . | xargs -L 1 sed -i 's#x/periph/conn#x/conn#g'
git ls-files -- . | xargs -L 1 sed -i 's#x/periph/experimental/conn#x/conn#g'
git ls-files -- . | xargs -L 1 sed -i 's#x/periph/host#x/host#g'
git ls-files -- . | xargs -L 1 sed -i 's#x/periph/experimental/host#x/host#g'
git ls-files -- . | xargs -L 1 sed -i 's#x/periph/devices#x/devices#g'
git ls-files -- . | xargs -L 1 sed -i 's#x/periph/experimental/devices#x/devices#g'
# Initialize the go module:
go mod init periph.io/x/devices
# Edited it to require go 1.13:
vi go.mod
# Reorder imports.
goimports -w .
5 years ago