goline

command module
Version: v0.0.0-...-41aaa38 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 7 Imported by: 0

README

GoDoc

goline

Line length focused formatted for the Go programming language.

Table Of Contents

Overview

Formats files to fit the most on a line while remaining under a line length limit.

Documentation

Overview

usage: goline [-w] maxlen path ...

maxlen is the max line length to enforce, path ... is a list of space seperated files to format.

Outputs GNU diff compatable transforms on files to ensure their lines are no longer than the maxlen.

Nothing is done in cases where lines cannot be made shorter than maxlen. Use the -w flag to see warnings about these lines.

Design:

Each input file's input is processed 1 byte at a time.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL