Categorygithub.com/holdatech/gopot/v4
package
4.0.0
Repository: https://github.com/holdatech/gopot.git
Documentation: pkg.go.dev

# README

GoDoc Go Go Report Card

gopot

Platform of Trust utility functions for go.

Getting the library

go get -u github.com/holdatech/gopot/v3

Usage

package main

import (
	"fmt"

	"github.com/holdatech/gopot/v3"
)

func main() {
	secret := []byte("secret123")

	payload := struct {
		Hello string `json:"hello"`
	}{
		Hello: "World",
	}

	signature, err := gopot.CreateSignature(payload, secret)
	if err != nil {
		panic(err)
	}

	fmt.Println(signature)
}