mindnum

module
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT

README ยถ

golangci-lint release

๐Ÿง  mindnum

Latest Release
Coverage Report

โ„น๏ธ About

mindnum is a CLI tool to get the mind number.

Mind number is the number obtained by breaking down all dates of birth in the Western calendar and adding them to a single digit. To calculate the mind number, you take the full date of birth (year, month, and day) and break it down into individual digits. Then, you sum these digits together. If the resulting sum is a multi-digit number, you continue to add the digits together until you get a single-digit number.

For example, if the date of birth is July 19, 1990 (1990-07-19):

  1. Break down the date into individual digits: 1, 9, 9, 0, 0, 7, 1, 9
  2. Sum these digits: 1 + 9 + 9 + 0 + 0 + 7 + 1 + 9 = 36
  3. Since 36 is a multi-digit number, break it down again: 3 + 6 = 9
  4. The mind number is 9.

This single-digit number is believed to have a specific meaning or personality description associated with it.

๐Ÿ’ป Usage

Usage:
  mindnum [command]

Available Commands:
  get         ๐Ÿง  Get a mind number from an argument or the birthday flag and show the personality description
  help        ๐Ÿค Help about any command
  completion  ๐Ÿ”ง Generate the autocompletion script for the specified shell
  version     ๐Ÿ”– Show the version of mindnum

Flags:
  -h, --help     ๐Ÿค help for mindnum
  -v, --version  ๐Ÿ”– version for mindnum

๐Ÿ”ง Installation

๐Ÿญ Using go
go install github.com/yanosea/mindnum/app/presentation/cli/mindnum@latest 
๐Ÿบ Using homebrew
brew tap yanosea/tap
brew install yanosea/tap/mindnum
๐Ÿ“ฆ Download from release

Go to the Releases and download the latest binary for your platform.

โœจ Update

๐Ÿญ Using go

Reinstall mindnum!

go install github.com/yanosea/mindnum/app/presentation/cli/mindnum@latest 
๐Ÿบ Using homebrew
brew update
brew upgrade mindnum
๐Ÿ“ฆ Download from release

Download the latest binary from the Releases page and replace the old binary in your $PATH.

๐Ÿ“ƒ License

๐Ÿ”“MIT

๐Ÿ–Š๏ธ Author

๐Ÿนyanosea

๐Ÿค Contributing

This is my first golang application and also first GitHub public repository,

so please feel free to point me in the right direction๐Ÿ™

Directories ยถ

Path Synopsis
app
application/mindnum
Package mindnum provides the usecase of the mindnum.
Package mindnum provides the usecase of the mindnum.
domain/mindnum
Package mindnum provides the domain of the mindnum.
Package mindnum provides the domain of the mindnum.
infrastructure/text/repository
Package repository provides the repository for the mindnum.
Package repository provides the repository for the mindnum.
presentation/cli/mindnum command
Package main provides the entry point of the cli application.
Package main provides the entry point of the cli application.
presentation/cli/mindnum/command
Package command provides the root command for the mindnum.
Package command provides the root command for the mindnum.
presentation/cli/mindnum/command/mindnum
Package mindnum provides the sub commands for the mindnum.
Package mindnum provides the sub commands for the mindnum.
presentation/cli/mindnum/formatter
Package formatter provides the formatter for the mindnum.
Package formatter provides the formatter for the mindnum.
presentation/cli/mindnum/presenter
Package presenter provides the presenter for the mindnum.
Package presenter provides the presenter for the mindnum.
pkg
proxy
Package proxy is a generated GoMock package.
Package proxy is a generated GoMock package.
utility
Package utility is a generated GoMock package.
Package utility is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL