A simple text completion / editing / auto‑correction tool written in Go using only the standard library.
- Hex → Decimal: Converts hexadecimal numbers before
(hex)to decimal. - Bin → Decimal: Converts binary numbers before
(bin)to decimal. - Uppercase / Lowercase / Capitalize: Supports
(up),(low),(cap)and also multi-word modifiers like(up, 2). - Punctuation Formatting: Properly spaces punctuation
. , ! ? : ;, handles grouped punctuation like…or!?. - Apostrophes: Formats
'word'or’multiple words’correctly. - Grammar Fix: Swaps
a→anbefore vowels or an ‘h’.
- Go (version 1.20+ recommended)
git clone https://github.com/AhmedTalbii/Go-Reloaded.git
cd Go-Reloaded
go build -o go-reloaded main.goThis builds the go-reloaded binary.
./go-reloaded sample.txt result.txtsample.txt– input file with text to modifyresult.txt– output file with applied transformations
Input (sample.txt):
it (cap) was the best of times, it was the worst of times (up) , it was the age of wisdom,...
Run:
./go-reloaded sample.txt result.txtOutput (sample.txt → result.txt):
It was the best of times, it was the worst of TIMES,...
Go-Reloaded/
├── main.go # Entry point
├── go.mod
└── helpers/ # Utility functions
├── aToAn.go
├── punctuation.go
├── toDecimal.go
└── ...
- Add unit tests for all helper modules.
- Provide config flags (e.g., toggle specific transformations).
- Print help/version info with
--help/--version.
- Fork the repo
- Create a feature branch (
git checkout -b feature/XYZ) - Commit your changes (
git commit -m "Add XYZ") - Push and open a Pull Request
Suggestions and improvements are always welcome!
This project is licensed under the MIT License. See LICENSE for details.