package fleethistory import "context" type Repository interface { Create(ctx context.Context, row *FleetHistory) error ListByHelicopter(ctx context.Context, helicopterID []byte, limit, offset int) ([]FleetHistory, int64, error) // HelicopterIDByInspection resolves the helicopter linked to a flight inspection // via its reserve_ac, returning nil bytes when none is found. HelicopterIDByInspection(ctx context.Context, inspectionID []byte) ([]byte, error) }