mirror of https://github.com/periph/devices
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 .pull/1/head
parent
1de83694a1
commit
655d1cef69
@ -0,0 +1,8 @@
|
||||
module periph.io/x/devices
|
||||
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
periph.io/x/conn v0.0.0-20201225011416-a1854b91a64c
|
||||
periph.io/x/host v0.0.0-20201225014024-7a96bb38d794
|
||||
)
|
||||
@ -0,0 +1,4 @@
|
||||
periph.io/x/conn v0.0.0-20201225011416-a1854b91a64c h1:ZGf3xRg1zXHyNyOwXgiRdU9N5Pr5G5g7Y8OP+t1IRLA=
|
||||
periph.io/x/conn v0.0.0-20201225011416-a1854b91a64c/go.mod h1:vZTobURVlmlSmjJ8DuzqbsJRp3uKBP7zNVLM1/4FsI0=
|
||||
periph.io/x/host v0.0.0-20201225014024-7a96bb38d794 h1:8p3+m0ktEeMHu8N31jPkSjaBN0ptyaEhAfkaMfXeZ5E=
|
||||
periph.io/x/host v0.0.0-20201225014024-7a96bb38d794/go.mod h1:5M8e1ADFvKJOwTgTp45JIFcYFGiEFjYHTr+vIu2uRMc=
|
||||
Loading…
Reference in New Issue