d2r2 / go-i2c

Implementation of I2C-bus written in Golang. Forked from davecheney/i2c.
MIT License
178 stars 53 forks source link

Unable to run the application #16

Open Rakshithakrishna2 opened 2 years ago

Rakshithakrishna2 commented 2 years ago

Hi, I am unable to run this application, For trials I ran i2c.go, noncgo.go, cgo.go For any case I am getting same error as like: go run: cannot run non-main package Screenshot from 2022-02-09 14-51-03

Note: This go Application is being run on RISC-V architecture.

Kindly let me know the solution.