- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 185 for gofmt (0.03 sec)
-
src/cmd/gofmt/testdata/rewrite6.input
//gofmt -r=fun(x)->Fun(x) // Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Rewriting of calls must take the ... (ellipsis) // attribute for the last argument into account. package p func fun(x []int) {} func g(x []int) { fun(x) // -r='fun(x)->Fun(x)' should rewrite this to Fun(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 22 00:25:13 UTC 2014 - 463 bytes - Viewed (0) -
src/cmd/gofmt/testdata/rewrite5.input
//gofmt -r=x+x->2*x // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Rewriting of expressions containing nodes with associated comments to // expressions without those nodes must also eliminate the associated // comments. package p func f(x int) int { _ = x + x // this comment remains in the rewrite
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 22 00:25:13 UTC 2014 - 538 bytes - Viewed (0) -
src/cmd/gofmt/testdata/rewrite9.input
//gofmt -r=a&&b!=2->a // Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 18987. package p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 08 04:48:20 UTC 2017 - 238 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.darwin-arm64.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.darwin-arm64"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 300 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.freebsd-386.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.freebsd-386"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 298 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.illumos-amd64.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.illumos-amd64"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 302 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.ios-amd64.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.ios-amd64"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 294 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.js-wasm.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.js-wasm"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 290 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-mips64x.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.linux-mips64x"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 302 bytes - Viewed (0) -
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-riscv64.txt
-- .mod -- module golang.org/toolchain -- .info -- {"Version":"v0.0.1-go1.999testmod.linux-riscv64"} -- go.mod -- module golang.org/toolchain -- bin/go -- #!/bin/sh echo go1.999testmod here! -- bin/gofmt -- echo i am unused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 13:19:02 UTC 2023 - 302 bytes - Viewed (0)