move can to socketcan

This commit is contained in:
saji 2023-04-15 00:01:36 -05:00
parent 1b7dbcc953
commit e981ebaca1
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
package can
package socketcan
import (
"bytes"
@ -72,6 +72,11 @@ func Marshal(f Frame) (*bytes.Buffer, error) {
return buf, nil
}
func Unmarshal(f *Frame, buf *bytes.Buffer) error {
return nil
}
//go:generate stringer -output=frame_kind.go -type Kind
type Kind uint8

View file

@ -1,4 +1,4 @@
package can
package socketcan
import (
"testing"