-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from visualfc/igop_work
igop: use go.work
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ( | ||
. | ||
./.. | ||
) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
go 1.23 | ||
|
||
use ( | ||
. | ||
./.. | ||
) |