INNER CODE UNIT · Go

doPublish

kluctl/kluctl · internal/ipfs-exchange-info/main.go:185

func doPublish(ctx context.Context, h host.Host, discovery *drouting.RoutingDiscovery) error {
	info := workflowInfo{
		PrNumber:    prNumber,
		GithubToken: os.Getenv("GITHUB_TOKEN"),
		IpfsId:      ipfsId,
	}

	b, err := json.Marshal(&info)
	if err != nil {
		return err
	}

	ageRecipient, err := age.ParseX25519Recipient(agePubKey)
	if err != nil {
		return err
	}

	w := bytes.NewBuffer(nil)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…