I made it work with status web site in the folder "www":
---
package main
import (
"embed"
"log"
"net/http"
)
//go:embed www
var src embed.FS
func main() {
// http://localhost:8080/www/
filehandler := http.FileServer(http.FS(src))
http.Handle("/", http.StripPrefix("/", filehandler))
// Run the
Thank you for sharing your experience!
On Sunday, November 29, 2020 at 6:38:56 AM UTC-8 peterGo wrote:
> On Saturday, November 28, 2020 at 3:59:21 PM UTC-5 Constantine Vassilev
> wrote:
>
>> I generated it from the source. I that the version I need?
>>
>> go version devel +4ce0a7cea6 Sat Nov 28
On Saturday, November 28, 2020 at 3:59:21 PM UTC-5 Constantine Vassilev
wrote:
> I generated it from the source. I that the version I need?
>
> go version devel +4ce0a7cea6 Sat Nov 28 18:42:44 2020 + darwin/amd64
>
For the moment. The tip is constantly updated for development and bug
fixe
I generated it from the source. I that the version I need?
go version devel +4ce0a7cea6 Sat Nov 28 18:42:44 2020 + darwin/amd64
On Saturday, November 28, 2020 at 12:08:29 PM UTC-8 Ian Lance Taylor wrote:
> On Sat, Nov 28, 2020 at 10:27 AM Constantine Vassilev
> wrote:
> >
> > I would like t
On Sat, Nov 28, 2020 at 10:27 AM Constantine Vassilev
wrote:
>
> I would like to test it. How to install the go 1.16 tip version?
See https://golang.org/doc/install/source .
Ian
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe fr
I would like to test it. How to install the go 1.16 tip version?
On Tuesday, July 21, 2020 at 8:22:30 AM UTC-7 Russ Cox wrote:
> Hi all,
>
> I've posted two draft designs: one introducing general-purpose file system
> interfaces, with Rob Pike; and one for embedding files into Go programs,
> wi