| 48 | } |
| 49 | |
| 50 | type ResourcePacker interface { |
| 51 | GetDataInfo(ctx context.Context) (*dataInfo, error) |
| 52 | GetActions(ctx context.Context) []*common.ResourceAction |
| 53 | GetProjectDefaultActions(ctx context.Context) []*common.ProjectResourceAction |
| 54 | } |
| 55 | |
| 56 | func NewResourcePacker(resID int64, t common.ResType, appContext *ServiceComponents) (ResourcePacker, error) { |
| 57 | base := resourceBasePacker{appContext: appContext, resID: resID} |
no outgoing calls
no test coverage detected