func New(tskType, info string) *Task {
	now := time.Now().In(time.UTC)
	return &Task{
		Type:    tskType,
		Info:    info,
		ID:      uuid.New().String(),
		Created: now.Format(time.RFC3339),
		created: now,
	}
}
New creates a new Task with the provided type
and info and sets the created date.
package task
import (
	"bytes"
	"encoding/json"
	"time"
	"github.com/google/uuid"
)