Skip to content

kahenda/go-reloaded

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Reloaded

A text completion, editing, and auto-correction tool written in Go.

Description

This project is a command-line tool that processes a text file and applies specific formatting rules, including:

  • Hex/Bin Conversion: Converts (hex) and (bin) tags to decimal.
  • Casing: Handles (up), (low), and (cap) for single or multiple words (e.g., (up, 2)).
  • Punctuation: Fixes spacing for marks like . , ! ? : ; and grouped punctuation like ....
  • Grammar: Automatically corrects "a" to "an" before vowels or "h".
  • Apostrophes: Properly formats text enclosed in single quotes.

Objectives

  • Learn the Go file system API (os).
  • Master string and number manipulation.
  • Practice unit testing and good coding standards.

Usage

To run the tool, use the following command in your terminal:

go run . sample.txt result.txt

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages