Versions in this module Expand all Collapse all v0 v0.1.0 Nov 14, 2025 Changes in this version + const ExitError + const ExitSuccess + const RequiredArguments + func FormatSuccessMessage(gitFormattedDate string) string + func HelpText() string + type App struct + func NewApp(config *Config) *App + func (a *App) Run() error + type CommitRequest struct + CommitMessage string + GitFormattedDate string + InputDate string + ParsedDate time.Time + func NewCommitRequest(date, message string) *CommitRequest + type Config struct + Args []string + ShowHelp bool + ShowVersion bool + Version string + func NewConfig(version string) *Config + func (c *Config) GetDate() string + func (c *Config) GetMessage() string + func (c *Config) Validate() error + type ErrorType int + type UserError struct + Details string + Hint string + Message string + Type string + func NewChronologyViolationError(providedDate, lastCommitDate string, equal bool) *UserError + func NewGitCommandError(gitError string) *UserError + func NewInvalidDateFormatError(provided string) *UserError + func NewInvalidDateValueError(date string, reason string) *UserError + func NewMissingArgumentsError(expected, received int) *UserError + func NewNoRepositoryError() *UserError + func (e *UserError) Error() string