func NewGenerator(salt string) Generator {
	return &generator{
		salt: salt,
	}
}
NewGenerator returns Generator
package token
import (
	"crypto/md5"
	"fmt"
	"io"
	"strconv"
	"time"
)
type Generator interface {
	Generate() string
}
type generator struct {
	salt string
}