chore: rename module to allow public go-mod imports

This commit is contained in:
mappu 2022-12-28 16:07:11 +13:00
parent b5871337ab
commit 49a1f26c06
4 changed files with 8 additions and 3 deletions

View File

@ -2,6 +2,11 @@
An interpreter for the RV32I instruction set. An interpreter for the RV32I instruction set.
Features:
- Supports RV32I base instructions only (so far)
- Page-based virtual memory, with custom memory traps and syscalls
- Install with Go Modules (`go get code.ivysaur.me/riscvemu`)
## License ## License
ISC License ISC License

View File

@ -5,7 +5,7 @@ import (
"io/ioutil" "io/ioutil"
"os" "os"
"riscvemu" "code.ivysaur.me/riscvemu"
) )
func main() { func main() {

2
cpu.go
View File

@ -1,4 +1,4 @@
package riscvemu package riscvemu // import "code.ivysaur.me/riscvemu"
import ( import (
"fmt" "fmt"

2
go.mod
View File

@ -1,3 +1,3 @@
module riscvemu module code.ivysaur.me/riscvemu
go 1.15 go 1.15