| 1 |
package test_files |
| 2 |
|
| 3 |
import "github.com/mitch000001/go-hbci/element" |
| 4 |
|
| 5 |
// These methods are for testing purpose only, just to make the compiler happy |
| 6 |
|
| 7 |
func ExtractElements([]byte) ([][]byte, error) { return nil, nil } |
| 8 |
func SegmentFromHeaderBytes([]byte, Segment) (Segment, error) { return nil, nil } |
| 9 |
|
| 10 |
type Segment interface { |
| 11 |
elements() []element.DataElement |
| 12 |
} |
| 13 |
|
| 14 |
type versionInterface1 interface { |
| 15 |
} |
| 16 |
|
| 17 |
type versionInterface2 interface { |
| 18 |
} |
| 19 |
|
| 20 |
type BankSegment interface { |
| 21 |
UnmarshalHBCI([]byte) error |
| 22 |
} |