ctx.createPackage
This commit is contained in:
@@ -21,5 +21,16 @@ import (
|
||||
)
|
||||
|
||||
type Package struct {
|
||||
SSA *ssa.Package
|
||||
SSA *ssa.Package
|
||||
EmbedGlobals map[string][]*EmbedFile
|
||||
}
|
||||
|
||||
type EmbedFile struct {
|
||||
/*
|
||||
Name string
|
||||
Size uint64
|
||||
Hash string // hash of the file (as a hex string)
|
||||
NeedsData bool // true if this file is embedded as a byte slice
|
||||
Data []byte // contents of this file (only if NeedsData is set)
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user