func (resource *WorkspaceResource) getLevelTexturesEntity(projectID string, level *core.Level) (entity model.LevelTextures) { entity.Href = "/projects/" + projectID + "/archive/levels/" + fmt.Sprintf("%d", level.ID()) + "/textures" entity.IDs = level.Textures() return }