move can to socketcan
This commit is contained in:
parent
1b7dbcc953
commit
e981ebaca1
|
@ -1,4 +1,4 @@
|
||||||
package can
|
package socketcan
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
@ -72,6 +72,11 @@ func Marshal(f Frame) (*bytes.Buffer, error) {
|
||||||
return buf, nil
|
return buf, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Unmarshal(f *Frame, buf *bytes.Buffer) error {
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
//go:generate stringer -output=frame_kind.go -type Kind
|
//go:generate stringer -output=frame_kind.go -type Kind
|
||||||
type Kind uint8
|
type Kind uint8
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package can
|
package socketcan
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
Loading…
Reference in a new issue