psi: ran gofmt -s -w on files

This commit is contained in:
saxon 2019-01-07 17:04:57 +10:30
parent d19327b6d5
commit 561e603d96
2 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ var bytesTests = []struct {
Pcrpid: 0x0100, // wrong Pcrpid: 0x0100, // wrong
Pil: 10, Pil: 10,
Pd: []Desc{ Pd: []Desc{
Desc{ {
Dt: timeDescTag, Dt: timeDescTag,
Dl: timeDataSize, Dl: timeDataSize,
Dd: TimeBytes(tstTime1), Dd: TimeBytes(tstTime1),
@ -170,12 +170,12 @@ var bytesTests = []struct {
Pcrpid: 0x0100, // wrong Pcrpid: 0x0100, // wrong
Pil: 10, Pil: 10,
Pd: []Desc{ Pd: []Desc{
Desc{ {
Dt: timeDescTag, Dt: timeDescTag,
Dl: timeDataSize, Dl: timeDataSize,
Dd: TimeBytes(tstTime2), Dd: TimeBytes(tstTime2),
}, },
Desc{ {
Dt: locationDescTag, Dt: locationDescTag,
Dl: locationDataSize, Dl: locationDataSize,
Dd: LocationStrBytes(locationTstStr1), Dd: LocationStrBytes(locationTstStr1),

View File

@ -92,12 +92,12 @@ var (
Pcrpid: 0x0100, Pcrpid: 0x0100,
Pil: pmtTimeLocationPil, Pil: pmtTimeLocationPil,
Pd: []Desc{ Pd: []Desc{
Desc{ {
Dt: timeDescTag, Dt: timeDescTag,
Dl: timeDataSize, Dl: timeDataSize,
Dd: make([]byte, timeDataSize), Dd: make([]byte, timeDataSize),
}, },
Desc{ {
Dt: locationDescTag, Dt: locationDescTag,
Dl: locationDataSize, Dl: locationDataSize,
Dd: make([]byte, locationDataSize), Dd: make([]byte, locationDataSize),