Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/josephspurrier/goversioninfo
/ functions
Functions
79 in github.com/josephspurrier/goversioninfo
⨍
Functions
79
◇
Types & classes
20
↓ 18 callers
Method
Build
Build fills the structs with data from the config file
structbuild.go:295
↓ 13 callers
Method
Walk
***************************************************************************** IO Methods *************************************************************
goversioninfo.go:239
↓ 12 callers
Method
ParseJSON
***************************************************************************** JSON and Config ********************************************************
goversioninfo.go:27
↓ 12 callers
Function
padString
(s string, zeros int)
goversioninfo.go:117
↓ 11 callers
Function
str2Uint32
(s string)
goversioninfo.go:104
↓ 9 callers
Method
WriteSyso
WriteSyso creates a resource file from the version info and optionally an icon. arch must be an architecture string accepted by coff.Arch, like "386"
goversioninfo.go:257
↓ 6 callers
Function
padBytes
(i int)
goversioninfo.go:131
↓ 5 callers
Method
Close
()
goversioninfo_test.go:647
↓ 5 callers
Function
NewFileVersion
NewFileVersion parses semver version string into a FileVersion object
goversioninfo.go:136
↓ 4 callers
Method
GetVersionString
GetVersionString returns a string representation of the version
goversioninfo.go:184
↓ 4 callers
Function
doTestWrite
(t *testing.T, arch string)
goversioninfo_test.go:101
↓ 4 callers
Function
testFile
(t *testing.T, filename string)
goversioninfo_test.go:28
↓ 3 callers
Method
getTranslationString
()
goversioninfo.go:226
↓ 3 callers
Function
writeCoff
(coff *coff.Coff, fnameout string)
goversioninfo.go:380
↓ 3 callers
Function
writeCoffTo
(w io.WriteCloser, coff *coff.Coff)
goversioninfo.go:391
↓ 2 callers
Method
WriteGo
WriteGo creates a Go file that contains the version info so you can access it in the application
goversioninfo.go:322
↓ 2 callers
Function
addOneIconWithGroupID
(coff *coff.Coff, fname string, newID func() uint16, groupID uint16)
icon.go:87
↓ 2 callers
Method
fillVersion
(name string, fixed *FileVersion, str *string)
goversioninfo.go:199
↓ 2 callers
Method
getVersionHighString
()
goversioninfo.go:170
↓ 2 callers
Method
getVersionLowString
()
goversioninfo.go:174
↓ 1 callers
Method
IsZero
IsZero returns true if all version components are zero.
goversioninfo.go:179
↓ 1 callers
Function
NewCLIConfig
NewCLIConfig returns a CLIConfig with sensible defaults matching the CLI behavior.
cli.go:56
↓ 1 callers
Function
RunCLI
RunCLI generates version info resource files based on the provided CLIConfig.
cli.go:73
↓ 1 callers
Method
UnmarshalJSON
UnmarshalJSON converts the string to a CharsetID
lang_cs.go:31
↓ 1 callers
Method
UnmarshalJSON
UnmarshalJSON converts the string to a LangID
lang_cs.go:60
↓ 1 callers
Method
WriteHex
WriteHex creates a hex file for debugging version info
goversioninfo.go:316
↓ 1 callers
Function
addIcon
(coff *coff.Coff, fnames string, newID func() uint16)
icon.go:63
↓ 1 callers
Function
addIconWithGroupID
(coff *coff.Coff, fname string, newID func() uint16, groupID uint16)
icon.go:83
↓ 1 callers
Function
addOneIcon
(coff *coff.Coff, fname string, newID func() uint16)
icon.go:79
↓ 1 callers
Function
bufferIcon
(f *os.File, offset int64, size int)
icon.go:125
↓ 1 callers
Function
buildFixedFileInfo
(vi *VersionInfo)
structbuild.go:270
↓ 1 callers
Function
buildString
(i int, v reflect.Value)
structbuild.go:107
↓ 1 callers
Function
buildStringFileInfo
(vi *VersionInfo)
structbuild.go:186
↓ 1 callers
Function
buildStringTable
(vi *VersionInfo)
structbuild.go:151
↓ 1 callers
Function
buildVar
(vfi VarFileInfo)
structbuild.go:214
↓ 1 callers
Function
buildVarFileInfo
(vfi VarFileInfo)
structbuild.go:243
↓ 1 callers
Method
fillVersions
fillVersions syncs version info between FixedFileInfo and StringFileInfo. If one section has version data and the other doesn't, the missing section i
goversioninfo.go:192
↓ 1 callers
Method
getTranslation
()
goversioninfo.go:230
↓ 1 callers
Function
unmarshalGoVersionInfo
(b []byte)
testdata/gofile/cmd.go:10
↓ 1 callers
Function
unmarshalGoVersionInfo
(b []byte)
testdata/gofile/simple.go:10
↓ 1 callers
Function
unmarshalGoVersionInfo
(b []byte)
testdata/gofile/explorer.go:10
↓ 1 callers
Function
unmarshalGoVersionInfo
(b []byte)
testdata/gofile/control.go:10
Function
Example
()
example_test.go:7
Method
Size
()
icon.go:54
Method
Size
Size returns the length of the buffer.
goversioninfo.go:100
Function
TestApplicationIconDefault
(t *testing.T)
goversioninfo_test.go:227
Function
TestApplicationIconExplicit
(t *testing.T)
goversioninfo_test.go:258
Function
TestBadApplicationIcon
(t *testing.T)
goversioninfo_test.go:290
Function
TestBadIcon
(t *testing.T)
goversioninfo_test.go:187
Function
TestCharsetID
(t *testing.T)
goversioninfo_test.go:439
Function
TestCopyrightSymbolCharset
(t *testing.T)
goversioninfo_test.go:596
Function
TestFile1
***************************************************************************** Logic Testing **********************************************************
goversioninfo_test.go:21
Function
TestFillVersions_BothPresent
(t *testing.T)
goversioninfo_test.go:528
Function
TestFillVersions_Conflict
(t *testing.T)
goversioninfo_test.go:554
Function
TestFillVersions_FixedToString
(t *testing.T)
goversioninfo_test.go:510
Function
TestFillVersions_InvalidStringVersion
(t *testing.T)
goversioninfo_test.go:541
Function
TestFillVersions_MatchingVersionsNoWarning
(t *testing.T)
goversioninfo_test.go:566
Function
TestFillVersions_StringToFixed
(t *testing.T)
goversioninfo_test.go:519
Function
TestIcon
(t *testing.T)
goversioninfo_test.go:151
Function
TestIconReleaseFileHandle
(t *testing.T)
icon_test.go:10
Function
TestLangID
(t *testing.T)
goversioninfo_test.go:428
Function
TestMalformedJSON
(t *testing.T)
goversioninfo_test.go:134
Function
TestNewFileVersion
(t *testing.T)
goversioninfo_test.go:474
Function
TestPadStringEmoji
(t *testing.T)
goversioninfo_test.go:578
Function
TestPadStringMixed
(t *testing.T)
goversioninfo_test.go:585
Function
TestTimestamp
(t *testing.T)
goversioninfo_test.go:318
Function
TestVersionString
(t *testing.T)
goversioninfo_test.go:354
Function
TestWrite32
(t *testing.T)
goversioninfo_test.go:85
Function
TestWrite64
(t *testing.T)
goversioninfo_test.go:89
Function
TestWriteArm32
(t *testing.T)
goversioninfo_test.go:93
Function
TestWriteArm64
(t *testing.T)
goversioninfo_test.go:97
Function
TestWriteCoff
(t *testing.T)
goversioninfo_test.go:450
Function
TestWriteHex
(t *testing.T)
goversioninfo_test.go:374
Method
Write
(p []byte)
goversioninfo_test.go:644
Function
main
()
testdata/example32/main.go:7
Function
main
()
testdata/example64-gofile/main.go:7
Function
main
()
testdata/example64/main.go:7
Function
main
()
cmd/goversioninfo/main.go:16
Function
testdatatr2Uint32
(t *testing.T)
goversioninfo_test.go:407