- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for netipv6zone (0.14 sec)
-
src/cmd/fix/netipv6zone.go
package main import "go/ast" func init() { register(netipv6zoneFix) } var netipv6zoneFix = fix{ name: "netipv6zone", date: "2012-11-26", f: netipv6zone, desc: `Adapt element key to IPAddr, UDPAddr or TCPAddr composite literals. https://codereview.appspot.com/6849045/ `, } func netipv6zone(f *ast.File) bool { if !imports(f, "net") { return false } fixed := false walk(f, func(n any) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 1.3K bytes - Viewed (0) -
src/cmd/fix/netipv6zone_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func init() { addTestCases(netipv6zoneTests, netipv6zone) } var netipv6zoneTests = []testCase{ { Name: "netipv6zone.0", In: `package main import "net" func f() net.Addr { a := &net.IPAddr{ip1} sub(&net.UDPAddr{ip2, 12345}) c := &net.TCPAddr{IP: ip3, Port: 54321}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 837 bytes - Viewed (0)