github.com/shakinm/xlsReader@v0.9.12/xls/record/FakeBlank.go (about) 1 package record 2 3 import "reflect" 4 5 //Fake record 6 7 type FakeBlank struct { 8 } 9 10 func (r *FakeBlank) GetString() (str string) { 11 return str 12 } 13 14 func (r *FakeBlank) GetFloat64() (fl float64) { 15 return fl 16 } 17 func (r *FakeBlank) GetInt64() (in int64) { 18 return in 19 } 20 21 func (r *FakeBlank) GetType() string { 22 return reflect.TypeOf(r).String() 23 } 24 25 func (r *FakeBlank) GetXFIndex() int { 26 return 15 //The last record ( ixfe=15 ) is the default cell XF for the workbook. 27 }