From adc92605ce4b752c1fec8f19c38c524728127a2b Mon Sep 17 00:00:00 2001 From: David Cannings Date: Fri, 18 Oct 2024 21:06:16 +0100 Subject: [PATCH] Correct capitalisation of example code (#101) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5abb1fe..90ebbbf 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ type File struct { 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. ```go -fmt.Printf("Magic is: 0x%x\n", pe.DosHeader.Magic) +fmt.Printf("Magic is: 0x%x\n", pe.DOSHeader.Magic) fmt.Printf("Signature is: 0x%x\n", pe.NtHeader.Signature) fmt.Printf("Machine is: 0x%x, Meaning: %s\n", pe.NtHeader.FileHeader.Machine, pe.PrettyMachineType()) ```