package api type Repository interface { FetchCode(ctx context.Context, id string) (Code, error) } type Runtime interface { Execute(ctx context.Context, Code) (RuntimeResponse, error) } type Server struct { Repo Repository Runtime Runtime }