It is pity `func g = othermod.F` were rejected. It could simplify
refactoring.
For example, I've decided to move type and its constructor to other
package. I could easily alias type in its previous place to remain
compatibility, but I have to write ugly wrapper for constructor:
type SomeEnt
On Mon, Sep 28, 2020 at 3:46 AM Kevin Chadwick wrote:
>
> Are there any thoughts on how to handle error types. Will the user create
> custom
> error types from strings for use with errors.Is like for their own code or are
> some error strings in the stdlib likely to change. In which case an "impo
Thanks !
poniedziałek, 28 września 2020 o 19:00:10 UTC+2 bbse...@gmail.com
napisał(a):
> On Mon, Sep 28, 2020 at 10:55 AM Michał Pawełek
> wrote:
> >
> > https://play.golang.org/p/CBuzITRmTiP
> >
> > Why isn't T1 allowed to pass to f ?
>
> func f requires an argument of type T. You cannot pass
On Mon, Sep 28, 2020 at 10:55 AM Michał Pawełek wrote:
>
> https://play.golang.org/p/CBuzITRmTiP
>
> Why isn't T1 allowed to pass to f ?
func f requires an argument of type T. You cannot pass a value of type
T1. However, T1 has T embedded in it, so you can pass:
f(t1.T)
>
> --
> You received t
https://play.golang.org/p/CBuzITRmTiP
Why isn't T1 allowed to pass to f ?
--
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 golang-nuts+unsubscr...@googlegroups.
Team,
Hi all, hope you're doing well.
I have hosted a small api on windows 10 machine which I'm using as a
webhook receiver. The CA authority of webhook sender is different from the
CA authority of the golang api.
Code of API is:-
---
On Fri, Sep 25, 2020 at 3:01 PM Anatol Pomozov
wrote:
> Or more precisely it calls this code
https://boringssl.googlesource.com/boringssl/+/master/crypto/fipsmodule/ec/felem.c#57
>
> But I want to avoid implementing parts of EC encryption myself and
looking for a standard Golang way to achieve my
Are there any thoughts on how to handle error types. Will the user create custom
error types from strings for use with errors.Is like for their own code or are
some error strings in the stdlib likely to change. In which case an "import
errors/types" managed by the stdlib might make sense?
proposal