[go-nuts] Re: Installing a package with an associated command

2022-05-24 Thread Volker Dobler
If you want the command to be installed: Why don't you install _the_ _command_ with go install https://github.com/chmike/clog/cmd/clogClr@latest ? (Note that there is no need to install the package.) V. On Wednesday, 25 May 2022 at 08:13:58 UTC+2 christoph...@gmail.com wrote: > I have a sma

[go-nuts] Installing a package with an associated command

2022-05-24 Thread christoph...@gmail.com
I have a small package (https://github.com/chmike/clog) that also contains a command in the cmd subdirectory (clogClr). How do I install the clog package and the command ? When I execute "go install github.com/chmike/clog@latest" I get the error message that it is not a main package. When I us

Re: [go-nuts] Trying to add an `InterfaceOf` to `reflect` package but segmentation violation returned

2022-05-24 Thread Ian Lance Taylor
On Tue, May 24, 2022 at 1:48 AM Wenhua Shi wrote: > > I'm really confusing. > > > That doesn't make sense to me. ifn and tfn need to refer to executable code. > The code is copied from here > https://github.com/golang/go/blob/0da4dbe2322eb3b6224df35ce3e9fc83f104762b/src/reflect/type.go#L2368 > ,

[go-nuts] Re: Need help to make autocert working

2022-05-24 Thread pkdchoy
Hi sunto, I am facing the same problem. Have you found a solution? Thanks. On Wednesday, 8 May 2019 at 08:25:53 UTC+1 alex wrote: > > This site can’t be reached > > site took too long to respond. > > Where is this coming from, some kind of a client? > > > How come the autocert TLS handshake try

Re: [go-nuts] Trying to add an `InterfaceOf` to `reflect` package but segmentation violation returned

2022-05-24 Thread Wenhua Shi
I'm really confusing. > That doesn't make sense to me. ifn and tfn need to refer to executable code. The code is copied from here https://github.com/golang/go/blob/0da4dbe2322eb3b6224df35ce3e9fc83f104762b/src/reflect/type.go#L2368 , why is it working here? > ifn and tfn need to refer to exe