mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-19 13:11:18 -08:00
Add the Update dependencies skill
AI Assisted
This commit is contained in:
1 parent
5679101487
commit
de8a05b958
99 files changed
+9496
-12
No files matched your search
@@ -0,0 +1,10 @@
|
||||
module example.com/fixture
|
||||
|
||||
go 1.22
|
||||
|
||||
require golang.org/x/mod v0.17.0
|
||||
|
||||
require (
|
||||
golang.org/x/net v0.20.0
|
||||
golang.org/x/text v0.14.0 // indirect
|
||||
)
|
||||
@@ -0,0 +1,6 @@
|
||||
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
|
||||
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
|
||||
golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
|
||||
golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
|
||||
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
|
||||
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
||||
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"golang.org/x/mod/semver"
|
||||
"golang.org/x/net/idna"
|
||||
)
|
||||
|
||||
func main() {
|
||||
s, _ := idna.ToASCII("example.com")
|
||||
fmt.Println(semver.IsValid("v1.0.0"), s)
|
||||
}
|
||||
Reference in new issue
Block a user