mirror of
https://github.com/OrbTools/OrbCommon
synced 2024-11-18 03:25:32 +00:00
XDR: use my own library for XDR
This commit is contained in:
parent
fcbabf621a
commit
ea00a7092d
@ -5,7 +5,7 @@ package devices
|
||||
import (
|
||||
"bytes"
|
||||
"embed"
|
||||
xdr "github.com/davecgh/go-xdr/xdr2"
|
||||
xdr "github.com/minizbot2012/minxdr"
|
||||
"io"
|
||||
"io/fs"
|
||||
"strings"
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/OrbTools/OrbCommon/devices"
|
||||
xdr "github.com/davecgh/go-xdr/xdr2"
|
||||
xdr "github.com/minizbot2012/minxdr"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module github.com/OrbTools/OrbCommon
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892
|
||||
require github.com/minizbot2012/minxdr v0.0.0-20210801163755-568fb466e98d
|
||||
|
4
go.sum
4
go.sum
@ -1,2 +1,2 @@
|
||||
github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892 h1:qg9VbHo1TlL0KDM0vYvBG9EY0X0Yku5WYIPoFWt8f6o=
|
||||
github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892/go.mod h1:CTDl0pzVzE5DEzZhPfvhY/9sPFMQIxaJ9VAMs9AagrE=
|
||||
github.com/minizbot2012/minxdr v0.0.0-20210801163755-568fb466e98d h1:DU2lr4XDQnWR//L3rDlyqF8hPjy78NAUU/dYIHix1So=
|
||||
github.com/minizbot2012/minxdr v0.0.0-20210801163755-568fb466e98d/go.mod h1:/f3HTVitNhL2hl4VdOCar3rLHlLc5pSogj2Yp4OQRY0=
|
||||
|
@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/OrbTools/OrbCommon/hid"
|
||||
xdr "github.com/davecgh/go-xdr/xdr2"
|
||||
xdr "github.com/minizbot2012/minxdr"
|
||||
"io"
|
||||
"io/fs"
|
||||
"os"
|
||||
|
@ -5,7 +5,7 @@ package hid
|
||||
import (
|
||||
"bytes"
|
||||
_ "embed"
|
||||
xdr "github.com/davecgh/go-xdr/xdr2"
|
||||
xdr "github.com/minizbot2012/minxdr"
|
||||
)
|
||||
|
||||
//go:embed generated.bin
|
||||
|
Loading…
Reference in New Issue
Block a user