mirror of
https://github.com/securego/gosec.git
synced 2025-07-15 01:04:43 +02:00
fix fmt
This commit is contained in:
@ -33,13 +33,13 @@ func TestUnsafe(t *testing.T) {
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
type Fake struct{}
|
||||
type Fake struct{}
|
||||
|
||||
func (Fake) Good() {}
|
||||
func (Fake) Good() {}
|
||||
|
||||
func main() {
|
||||
unsafeM := Fake{}
|
||||
unsafeM.Good()
|
||||
unsafeM := Fake{}
|
||||
unsafeM.Good()
|
||||
intArray := [...]int{1, 2}
|
||||
fmt.Printf("\nintArray: %v\n", intArray)
|
||||
intPtr := &intArray[0]
|
||||
|
Reference in New Issue
Block a user