- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for gofmtLine (0.17 sec)
-
src/cmd/cgo/godefs.go
"{\n", "{", ",\n", ",", ".\n", ". ", ":\n", ": ", // not possible in gofmt today "\n", ";", ) // gofmtLine returns the gofmt-formatted string for an AST node, // ensuring that it is on a single line. func gofmtLine(n interface{}) string { return gofmtLineReplacer.Replace(gofmt(n))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// Add the result type, if any. if name.FuncType.Result != nil { rtype := p.rewriteUnsafe(name.FuncType.Result.Go) if rtype != name.FuncType.Result.Go { needsUnsafe = true } sb.WriteString(gofmtLine(rtype)) result = true } // Add the second result type, if any. if twoResults { if name.FuncType.Result == nil { // An explicit void result looks odd but it
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0)