cca9f8e6b7
is no point to this. All output (including TOC) is now written to a single output file. This allows us to have different output file names to be specified. Each for a different version generated code with its own build tags. Consequently offering much greater flexibility in the way generated code is to be used in a host application. Fixes test outputs to match all these changes.
47 lines
1.0 KiB
Go
47 lines
1.0 KiB
Go
package main
|
|
|
|
func in_b_test_asset() []byte {
|
|
return []byte{
|
|
0x2f, 0x2f, 0x20, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x66, 0x69,
|
|
0x6c, 0x65, 0x0a,
|
|
}
|
|
}
|
|
|
|
func in_test_asset() []byte {
|
|
return []byte{
|
|
0x2f, 0x2f, 0x20, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x66, 0x69,
|
|
0x6c, 0x65, 0x0a,
|
|
}
|
|
}
|
|
|
|
func in_a_test_asset() []byte {
|
|
return []byte{
|
|
0x2f, 0x2f, 0x20, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x66, 0x69,
|
|
0x6c, 0x65, 0x0a,
|
|
}
|
|
}
|
|
|
|
func in_c_test_asset() []byte {
|
|
return []byte{
|
|
0x2f, 0x2f, 0x20, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x20, 0x66, 0x69,
|
|
0x6c, 0x65, 0x0a,
|
|
}
|
|
}
|
|
|
|
// Asset loads and returns the asset for the given name.
|
|
// This returns nil of the asset could not be found.
|
|
func Asset(name string) []byte {
|
|
if f, ok := _bindata[name]; ok {
|
|
return f()
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
|
var _bindata = map[string]func() []byte{
|
|
"in/b/test.asset": in_b_test_asset,
|
|
"in/test.asset": in_test_asset,
|
|
"in/a/test.asset": in_a_test_asset,
|
|
"in/c/test.asset": in_c_test_asset,
|
|
}
|