Skip to content

Commit

Permalink
Merge pull request #290 from visualfc/igop_work
Browse files Browse the repository at this point in the history
igop: use go.work
  • Loading branch information
visualfc authored Feb 11, 2025
2 parents 8a4c30e + 5776283 commit c94e3d2
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
23 changes: 23 additions & 0 deletions igop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### build igop for Go1.23

- go.mod use `golang.org/x/tools v0.29.0` for support range func

- build use `-ldflags="-checklinkname=0"` for support linkname

### Install igop for Go1.23
`go install -ldflags="-checklinkname=0" github.com/goplus/igop/igop@latest`


### Local development environment

go.work
```
go 1.23
use (
.
./..
)
```


2 changes: 0 additions & 2 deletions igop/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ require (
golang.org/x/sys v0.29.0 // indirect
golang.org/x/tools v0.29.0 // indirect
)

replace github.com/goplus/igop => ../
6 changes: 6 additions & 0 deletions igop/go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
go 1.23

use (
.
./..
)

0 comments on commit c94e3d2

Please sign in to comment.