Yeah but you implement and install once, then you just have to 'fsrv' 
inside a directory and you're done. :) 
fsrv -spa=true in case you want the catchall behavior. 
It's a tool. That is the scope issue @Sean was mentioning above.

On Sunday, January 25, 2026 at 11:24:33 AM UTC+1 Stephen Illingworth wrote:

> On Saturday, 24 January 2026 at 21:15:55 UTC [email protected] wrote:
>
> Anyway, I kept my braincells activity for some other stuff... Seems to 
> work still https://github.com/atdiar/fsrv
>
>
> Depending on what you want to do that seems overly complicated. In my 
> projects when I need a http server, I just have something like this for 
> testing.
>
> func main() {
> http.ListenAndServe(":8000", http.FileServer(http.Dir("www")))
> }
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/f3c4f197-c80a-4382-86bf-bfd4bb02b586n%40googlegroups.com.

Reply via email to