Skip to content

Add Golang translation of TextFSM library#140

Open
morrowc wants to merge 1 commit into
google:masterfrom
morrowc:golang-translation
Open

Add Golang translation of TextFSM library#140
morrowc wants to merge 1 commit into
google:masterfrom
morrowc:golang-translation

Conversation

@morrowc

@morrowc morrowc commented Jul 6, 2026

Copy link
Copy Markdown

An idiomatic Golang port of the Python TextFSM library has been implemented in the go/ subdirectory. This includes full translations of the core engine (textfsm), tabular data handling (texttable), CLI template index mapping (clitable), and terminal formatting utilities (terminal).

All unit tests have been built as table-driven tests without t.Run() usage, adhering strictly to Go testing best practices and NetSec guidelines. A CLI tool has also been implemented under go/cmd/textfsm, and README.md has been updated with proposed usage instructions and examples.

MARKDOWN=true
TAG=agy
CONV=b4635a52-7693-40d3-a875-79cd02047446

An idiomatic Golang port of the Python TextFSM library has been implemented in the go/ subdirectory. This includes full translations of the core engine (textfsm), tabular data handling (texttable), CLI template index mapping (clitable), and terminal formatting utilities (terminal).

All unit tests have been built as table-driven tests without t.Run() usage, adhering strictly to Go testing best practices and NetSec guidelines. A CLI tool has also been implemented under go/cmd/textfsm, and README.md has been updated with proposed usage instructions and examples.

MARKDOWN=true
TAG=agy
CONV=b4635a52-7693-40d3-a875-79cd02047446
@morrowc

morrowc commented Jul 6, 2026

Copy link
Copy Markdown
Author

@harro or @buxtronix could possibly be reviewers... I hope :)
This is just doing a conversion to golang so we might use this code in other locales :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant