mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 12:05:52 +00:00
fix fmt
This commit is contained in:
parent
92dda9cc3b
commit
eedb0c279d
1 changed files with 4 additions and 4 deletions
|
@ -33,13 +33,13 @@ func TestUnsafe(t *testing.T) {
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Fake struct{}
|
type Fake struct{}
|
||||||
|
|
||||||
func (Fake) Good() {}
|
func (Fake) Good() {}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
unsafeM := Fake{}
|
unsafeM := Fake{}
|
||||||
unsafeM.Good()
|
unsafeM.Good()
|
||||||
intArray := [...]int{1, 2}
|
intArray := [...]int{1, 2}
|
||||||
fmt.Printf("\nintArray: %v\n", intArray)
|
fmt.Printf("\nintArray: %v\n", intArray)
|
||||||
intPtr := &intArray[0]
|
intPtr := &intArray[0]
|
||||||
|
|
Loading…
Reference in a new issue