AZHenley / knox

A toy programming language written in Go that compiles to C.
MIT License
96 stars 7 forks source link

Add go modules support #188

Open hasheddan opened 4 years ago

hasheddan commented 4 years ago

Adds module support so that packages can be used outside of GOTPATH.

Signed-off-by: hasheddan georgedanielmangum@gmail.com

Wasn't sure if this is something you wanted to support (i.e. no issue open for it), but was looking into some other parts of the codebase and added this for my own local dev, so I thought I would push upstream as well. Feel free to close if you don't find this useful :+1: