Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gofmt (0.02 sec)

  1. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: input
        id: go-toolchain
        attributes:
          label: Changes to Go ToolChain
          description: "How many tools (such as vet, gopls, gofmt, goimports, etc.) would be affected? "
        validations:
          required: false
    
      - type: input
        id: perf-costs
        attributes:
          label: Performance Costs
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			error_(r.Pos(), "must call C.%s", fixGo(r.Name.Go))
    		}
    	}
    	return expr
    }
    
    // gofmtPos returns the gofmt-formatted string for an AST node,
    // with a comment setting the position before the node.
    func gofmtPos(n ast.Expr, pos token.Pos) string {
    	s := gofmt(n)
    	p := fset.Position(pos)
    	if p.Column == 0 {
    		return s
    	}
    	return fmt.Sprintf("/*line :%d:%d*/%s", p.Line, p.Column, s)
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top