mirror of
https://github.com/luxfi/captable.git
synced 2026-10-30 17:01:02 +00:00
12 lines
355 B
Go
12 lines
355 B
Go
package corporate
|
|
|
|
import "context"
|
|
|
|
// Repository defines storage for corporate actions.
|
|
type Repository interface {
|
|
CreateAction(ctx context.Context, a *Action) error
|
|
GetAction(ctx context.Context, id string) (*Action, error)
|
|
UpdateAction(ctx context.Context, a *Action) error
|
|
ListActions(ctx context.Context, companyID string) ([]*Action, error)
|
|
}
|