init push

This commit is contained in:
2026-07-16 22:16:45 +07:00
commit 8b068bdb10
1021 changed files with 332816 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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)
}