go-walk-scan

command module
v0.0.0-...-a14a8be Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

README

RiskScan.go

My first go program, made to learn the language.

To run the program

go run .\riskScan.go --dir <directory to scan> --out <output_file.json>

Last minute change

  • I removed the use of Walk as I feel it was too constraining in the end. By using actual recursion, I have a point to add multithreading if needed.

What is missing

  • To make it perfectly safe and production-ready, this project desperately needs some unit tests.
  • Some optimisations can probably be made as some of the implementations are pretty naive.
  • Error-handling is also incomplete.
  • I read about Go routines but didn't implement them yet. It would make the recursion more efficient.
  • The project could benefit from some cleanup and organisation by splitting in multiple files.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL