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: main.go
    path of file: ./repos/storj/cmd/tools/tag-signer
    
    the code of the file until where you have to start completion: // Copyright (C) 2023 Storj Labs, Inc.
// See LICENSE for copying information.

package main

import (
	"context"
	"encoding/base64"
	"encoding/hex"
	"fmt"
	"path/filepath"
	"strings"
	"time"

	"github.com/gogo/protobuf/proto"
	"github.com/spf13/cobra"
	"github.com/spf13/viper"
	"github.com/zeebo/errs"
	"go.uber.org/zap"

	"storj.io/common/identity"
	"storj.io/common/nodetag"
	"storj.io/common/pb"
	"storj.io/common/process"
	"storj.io/common/signing"
	"storj.io/common/storj"
)

var (
	rootCmd = &cobra.Command{
		Use:   "tag-signer",
		Short: "Sign key=value pairs with identity",
		Long: "Node tags are arbitrary key value pairs signed by an authority. If the public key is configured on " +
			"Satellite side, 
    
func inspect(ctx context.Context, s string) error {
	raw, err := base64.StdEncoding.DecodeString(s)
	if err != nil {
		return errs.New("Input is not in base64 format")
	}

	sets := &pb.SignedNodeTagSets{}
	err = proto.Unmarshal(raw, sets)
	if err != nil {
		return errs.New("Input is not a protobuf encoded *pb.SignedNodeTagSets message")
	}

	for _, msg := range sets.Tags {

		signerNodeID, err := storj.NodeIDFromBytes(msg.SignerNodeId)
		if err != nil {
			return err
		}

		fmt.Println("Signer:            ", signerNodeID.String())
		fmt.Println("Signature:         ", hex.EncodeToString(msg.Signature))

		tags := &pb.NodeTagSet{}
		err = proto.Unmarshal(msg.SerializedTag, tags)
		if err != nil {
			return err
		}
		nodeID, err := storj.NodeIDFromBytes(tags.NodeId)
		if err != nil {
			return err
		}

		fmt.Println("SignedAt:          ", time.Unix(tags.SignedAt, 0).Format(time.RFC3339))
		fmt.Println("NodeID:            ", nodeID.String())
		fmt.Println("Tags:")
		for _, tag := range tags.Tags {
			fmt.Printf("   %s=%s\n", tag.Name, string(tag.Value))
		}
		fmt.Println()
	}
	return nil
}