You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: summary.go
    path of file: ./repos/werf/pkg/image
    
    the code of the file until where you have to start completion: package image

import (
	"fmt"
	"strings"
)

type Summary struct {
	RepoTags    []string
	RepoDigests []string
}

type ImagesList []Summary

// FIXME(multiarch): take into account multiarch stages, which does not use uniq
    
func getDigestAndUniqueIDFromLocalStageImageTag(repoStageImageTag string) (string, int64, error) {
	parts := strings.SplitN(repoStageImageTag, "-", 2)
	if uniqueID, err := ParseUniqueIDAsTimestamp(parts[1]); err != nil {
		return "", 0, fmt.Errorf("unable to parse unique id %s as timestamp: %w", parts[1], err)
	} else {
		return parts[0], uniqueID, nil
	}
}