changeloguru/internal/changelog/generate.go

13 lines
217 B
Go

package changelog
import (
"fmt"
"time"
"github.com/haunt98/clock-go"
)
func generateVersionHeaderValue(version string, when time.Time) string {
return fmt.Sprintf("%s (%s)", version, clock.FormatDate(when))
}