Tags: ardrabczyk/can-go
Tags
fix(deps): bump go.einride.tech/sage from 0.204.0 to 0.206.0 in /.sage Bumps [go.einride.tech/sage](https://github.com/einride/sage) from 0.204.0 to 0.206.0. - [Release notes](https://github.com/einride/sage/releases) - [Commits](einride/sage@v0.204.0...v0.206.0) --- updated-dependencies: - dependency-name: go.einride.tech/sage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
fix(candevice): add empty device struct for non-linux Fixes the following for non-linux host when running make: ``` [go-lint] pkg/candevice/device_others.go:10:22: undeclared name: `Device` (typecheck) func New(_ string) (*Device, error) { ^ [go-lint] exit status 1 [go-review] exit status 1 ```
feat: add functionality for setting up CAN devices Adds the "candevice" package which provides functions for interacting with CAN devices on the link layer. Allows for setting bitrate, setting device up/down, and retrieving info and stats from the device. Added integration tests for the candevice package, for testing against real hardware.
PreviousNext