MCPcopy Index your code

hub / github.com/josephspurrier/goversioninfo / functions

Functions79 in github.com/josephspurrier/goversioninfo

↓ 18 callersMethodBuild
Build fills the structs with data from the config file
structbuild.go:295
↓ 13 callersMethodWalk
***************************************************************************** IO Methods *************************************************************
goversioninfo.go:239
↓ 12 callersMethodParseJSON
***************************************************************************** JSON and Config ********************************************************
goversioninfo.go:27
↓ 12 callersFunctionpadString
(s string, zeros int)
goversioninfo.go:117
↓ 11 callersFunctionstr2Uint32
(s string)
goversioninfo.go:104
↓ 9 callersMethodWriteSyso
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 callersFunctionpadBytes
(i int)
goversioninfo.go:131
↓ 5 callersMethodClose
()
goversioninfo_test.go:647
↓ 5 callersFunctionNewFileVersion
NewFileVersion parses semver version string into a FileVersion object
goversioninfo.go:136
↓ 4 callersMethodGetVersionString
GetVersionString returns a string representation of the version
goversioninfo.go:184
↓ 4 callersFunctiondoTestWrite
(t *testing.T, arch string)
goversioninfo_test.go:101
↓ 4 callersFunctiontestFile
(t *testing.T, filename string)
goversioninfo_test.go:28
↓ 3 callersMethodgetTranslationString
()
goversioninfo.go:226
↓ 3 callersFunctionwriteCoff
(coff *coff.Coff, fnameout string)
goversioninfo.go:380
↓ 3 callersFunctionwriteCoffTo
(w io.WriteCloser, coff *coff.Coff)
goversioninfo.go:391
↓ 2 callersMethodWriteGo
WriteGo creates a Go file that contains the version info so you can access it in the application
goversioninfo.go:322
↓ 2 callersFunctionaddOneIconWithGroupID
(coff *coff.Coff, fname string, newID func() uint16, groupID uint16)
icon.go:87
↓ 2 callersMethodfillVersion
(name string, fixed *FileVersion, str *string)
goversioninfo.go:199
↓ 2 callersMethodgetVersionHighString
()
goversioninfo.go:170
↓ 2 callersMethodgetVersionLowString
()
goversioninfo.go:174
↓ 1 callersMethodIsZero
IsZero returns true if all version components are zero.
goversioninfo.go:179
↓ 1 callersFunctionNewCLIConfig
NewCLIConfig returns a CLIConfig with sensible defaults matching the CLI behavior.
cli.go:56
↓ 1 callersFunctionRunCLI
RunCLI generates version info resource files based on the provided CLIConfig.
cli.go:73
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON converts the string to a CharsetID
lang_cs.go:31
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON converts the string to a LangID
lang_cs.go:60
↓ 1 callersMethodWriteHex
WriteHex creates a hex file for debugging version info
goversioninfo.go:316
↓ 1 callersFunctionaddIcon
(coff *coff.Coff, fnames string, newID func() uint16)
icon.go:63
↓ 1 callersFunctionaddIconWithGroupID
(coff *coff.Coff, fname string, newID func() uint16, groupID uint16)
icon.go:83
↓ 1 callersFunctionaddOneIcon
(coff *coff.Coff, fname string, newID func() uint16)
icon.go:79
↓ 1 callersFunctionbufferIcon
(f *os.File, offset int64, size int)
icon.go:125
↓ 1 callersFunctionbuildFixedFileInfo
(vi *VersionInfo)
structbuild.go:270
↓ 1 callersFunctionbuildString
(i int, v reflect.Value)
structbuild.go:107
↓ 1 callersFunctionbuildStringFileInfo
(vi *VersionInfo)
structbuild.go:186
↓ 1 callersFunctionbuildStringTable
(vi *VersionInfo)
structbuild.go:151
↓ 1 callersFunctionbuildVar
(vfi VarFileInfo)
structbuild.go:214
↓ 1 callersFunctionbuildVarFileInfo
(vfi VarFileInfo)
structbuild.go:243
↓ 1 callersMethodfillVersions
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 callersMethodgetTranslation
()
goversioninfo.go:230
↓ 1 callersFunctionunmarshalGoVersionInfo
(b []byte)
testdata/gofile/cmd.go:10
↓ 1 callersFunctionunmarshalGoVersionInfo
(b []byte)
testdata/gofile/simple.go:10
↓ 1 callersFunctionunmarshalGoVersionInfo
(b []byte)
testdata/gofile/explorer.go:10
↓ 1 callersFunctionunmarshalGoVersionInfo
(b []byte)
testdata/gofile/control.go:10
FunctionExample
()
example_test.go:7
MethodSize
()
icon.go:54
MethodSize
Size returns the length of the buffer.
goversioninfo.go:100
FunctionTestApplicationIconDefault
(t *testing.T)
goversioninfo_test.go:227
FunctionTestApplicationIconExplicit
(t *testing.T)
goversioninfo_test.go:258
FunctionTestBadApplicationIcon
(t *testing.T)
goversioninfo_test.go:290
FunctionTestBadIcon
(t *testing.T)
goversioninfo_test.go:187
FunctionTestCharsetID
(t *testing.T)
goversioninfo_test.go:439
FunctionTestCopyrightSymbolCharset
(t *testing.T)
goversioninfo_test.go:596
FunctionTestFile1
***************************************************************************** Logic Testing **********************************************************
goversioninfo_test.go:21
FunctionTestFillVersions_BothPresent
(t *testing.T)
goversioninfo_test.go:528
FunctionTestFillVersions_Conflict
(t *testing.T)
goversioninfo_test.go:554
FunctionTestFillVersions_FixedToString
(t *testing.T)
goversioninfo_test.go:510
FunctionTestFillVersions_InvalidStringVersion
(t *testing.T)
goversioninfo_test.go:541
FunctionTestFillVersions_MatchingVersionsNoWarning
(t *testing.T)
goversioninfo_test.go:566
FunctionTestFillVersions_StringToFixed
(t *testing.T)
goversioninfo_test.go:519
FunctionTestIcon
(t *testing.T)
goversioninfo_test.go:151
FunctionTestIconReleaseFileHandle
(t *testing.T)
icon_test.go:10
FunctionTestLangID
(t *testing.T)
goversioninfo_test.go:428
FunctionTestMalformedJSON
(t *testing.T)
goversioninfo_test.go:134
FunctionTestNewFileVersion
(t *testing.T)
goversioninfo_test.go:474
FunctionTestPadStringEmoji
(t *testing.T)
goversioninfo_test.go:578
FunctionTestPadStringMixed
(t *testing.T)
goversioninfo_test.go:585
FunctionTestTimestamp
(t *testing.T)
goversioninfo_test.go:318
FunctionTestVersionString
(t *testing.T)
goversioninfo_test.go:354
FunctionTestWrite32
(t *testing.T)
goversioninfo_test.go:85
FunctionTestWrite64
(t *testing.T)
goversioninfo_test.go:89
FunctionTestWriteArm32
(t *testing.T)
goversioninfo_test.go:93
FunctionTestWriteArm64
(t *testing.T)
goversioninfo_test.go:97
FunctionTestWriteCoff
(t *testing.T)
goversioninfo_test.go:450
FunctionTestWriteHex
(t *testing.T)
goversioninfo_test.go:374
MethodWrite
(p []byte)
goversioninfo_test.go:644
Functionmain
()
testdata/example32/main.go:7
Functionmain
()
testdata/example64-gofile/main.go:7
Functionmain
()
testdata/example64/main.go:7
Functionmain
()
cmd/goversioninfo/main.go:16
Functiontestdatatr2Uint32
(t *testing.T)
goversioninfo_test.go:407