2
0
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:
Minizbot2012 2021-08-01 12:54:06 -04:00
parent fcbabf621a
commit ea00a7092d
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917
6 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -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
View File

@ -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
View File

@ -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=

View File

@ -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"

View File

@ -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