github.com/gekkowrld/c-style

A simple custom implementation of Betty Holberton in golang


License
GPL-3.0
Install
go get github.com/gekkowrld/c-style

Documentation

C Style

This is a custom implementation of the betty coding guideline in golang.

NOTES:

  • Most of the regex'es are created, generated and copied from regex101.
  • This is not a one-to-one replica of the betty lint tool. If this tool fails please open an issue where you found the source code from.
  • Golang converts all line endings to '\n' before processing the file, so cheking for DOS line endings is not possible.

Design philosophy

  • Produce more "human" readable error messages.
  • Easily extensible as the code is broken down into smaller functions.
  • Easy to use

Building

  • go - The tool is written in go.

License

This project is released under the copyleft GNU GPL version 3. You are free to do anything with the source code as permitted by the LICENSE