Skip to content

Commit adc9260

Browse files
authored
Correct capitalisation of example code (#101)
1 parent 371d03a commit adc9260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ type File struct {
122122
As mentionned before, all members of the struct are directly (no getters) accessible, additionally, the fields types has been preserved as the spec defines them, that means if you need to show the prettified version of an `int` type, you have to call the corresponding helper function.
123123

124124
```go
125-
fmt.Printf("Magic is: 0x%x\n", pe.DosHeader.Magic)
125+
fmt.Printf("Magic is: 0x%x\n", pe.DOSHeader.Magic)
126126
fmt.Printf("Signature is: 0x%x\n", pe.NtHeader.Signature)
127127
fmt.Printf("Machine is: 0x%x, Meaning: %s\n", pe.NtHeader.FileHeader.Machine, pe.PrettyMachineType())
128128
```

0 commit comments

Comments
 (0)