How to generate linter warning for pointer address printing in Go?

前端 未结 0 802
余生分开走
余生分开走 2021-02-08 06:36

What linter is available that can generate warning for the following program in Go?

package main

import (
    "fmt"
)

func main() {
    i := 5
    p :         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题