sensepost / gowitness

🔍 gowitness - a golang, web screenshot utility using Chrome Headless
GNU General Public License v3.0
2.82k stars 323 forks source link

Can I import this project as a library ? #197

Open EduardoRMello opened 11 months ago

EduardoRMello commented 11 months ago

Can I use this project as a lib into my golang project ? Do you have any example ?

leonjza commented 11 months ago

You can import any part of a remote package (with some exceptions), meaning you can import anything in the gowitness project.

That said, currently gowitness is not a well structured Golang project, yet. Believe it or not, I started work very recently on v3 and one of the goals is to restructure the project specifically so that it can be used as a library in other code. I'll make sure to have some examples on how to use it as well too.

If you are curious, watch for the v3 branch in this repo when I commit the first changes to see how it comes along.