Browse Source

XDR: use my own library for XDR

main
mini 4 months ago
parent
commit
2338bcdd7e
6 changed files with 7 additions and 7 deletions
  1. +1
    -1
      devices/devices_xdr.go
  2. +1
    -1
      devices/translator/jsoxdr.go
  3. +1
    -1
      go.mod
  4. +2
    -2
      go.sum
  5. +1
    -1
      hid/generator/gen.go
  6. +1
    -1
      hid/hid_xdr.go

+ 1
- 1
devices/devices_xdr.go 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"

+ 1
- 1
devices/translator/jsoxdr.go 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() {

+ 1
- 1
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

+ 2
- 2
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=

+ 1
- 1
hid/generator/gen.go 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"

+ 1
- 1
hid/hid_xdr.go 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

Loading…
Cancel
Save