verless / verless

A Static Site Generator designed for Markdown-based content with a focus on simplicity and performance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make tree package an independent Go package

dominikbraun opened this issue · comments

For the sake of simplicity and clarity, I decided to strictly separate verless' business logic and the tree logic. This resulted in extracting all tree-related code into the tree package, and it facilitated distinguishing tree-related bugs from business-related bugs.

It might be useful to make the tree package an independent Go package in an own repository in order to make it even more re-usable. I encounter tree-related logic from time to time in my own projects, and it might make sense to provide this functionaliy within a dedicated package.

@aligator PTAL