The Compatibility section of the proposal says: "I think that this would
break no existing code, as a user function invocation untyped(EXPR) is not
at present allowed in constant specifications."
It's true that user function cannot be called in a constant expression. But
conversion to a user defin
Thanks!
That compiles.
On Thursday, March 28, 2019 at 10:14:28 PM UTC-7, Ian Lance Taylor wrote:
>
> On Thu, Mar 28, 2019 at 10:02 PM Greg Bostrom > wrote:
> >
> > No, I intended to call New(foo)
>
> Well, in the program you showed us, foo is not defined, and that is
> what the compiler is te
On Thu, Mar 28, 2019 at 10:02 PM Greg Bostrom wrote:
>
> No, I intended to call New(foo)
Well, in the program you showed us, foo is not defined, and that is
what the compiler is telling you.
It was mistaken in thinking that you meant new(M), though, since you
actually want to call New. What you
No, I intended to call New(foo)
--
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.com.
For more options, visit https://groups.g
On Thu, Mar 28, 2019 at 9:42 PM Greg Bostrom wrote:
>
> I just posted this on on openstack.
> Maybe someone here knows the answer?
>
> https://stackoverflow.com/questions/55410250/go-passing-a-member-function-as-an-argument-compile-error
>
> I would expect this to compile after watching this talk
I just posted this on on openstack.
Maybe someone here knows the answer?
https://stackoverflow.com/questions/55410250/go-passing-a-member-function-as-an-argument-compile-error
I would expect this to compile after watching this talk by Rob Pike
https://www.youtube.com/watch?v=HxaD_trXwRE&t=1830s
Now that WebAssembly is available as an (experimental) compilation target,
it raises the question of how feasible is it to make a quality UI library.
Vue (my personal fav) and React, while they have their issues, do have many
ideas which are good and seem like they may translate well over to
We
On Friday, March 29, 2019 at 11:08:06 AM UTC+13, Ashutosh Baghel wrote:
>
> Hi folks,
>
> I am new to Go-Programming and having the following requirement, I need
> to have Array of Strings,(for example names) at my 'Go Side' .
>
> But i would get this names from my C library API which i have in
I have a bunch of integration tests which depend on external services. I've
added the build tag "integration" for each source file containing such
tests so they are only run when I do:
$ go test -tags=integration ./...
Go 1.12, by default, caches the tests results, which is exactly what I
don
When posting a job opportunity it's helpful to include:
* at least a hint as to what the job is
* at least a hint as to what the salary will be
* since it's a contract, how long and what are the terms
* since it's in Plano, TX, is it a remote gig or in office?
I certainly wouldn't jump on an inter
You can contact me, and review github.com/robaho/fixed it is more designed for
performance over flexibility the decimal.Decimal being more suited for the
latter.
> On Mar 28, 2019, at 5:53 PM, Marcin Romaszewicz wrote:
>
> A huge +1 on that last comment. You never want to store currency in fl
A huge +1 on that last comment. You never want to store currency in
floating point, but rather some form of fixed point notation, like your
pennies suggestion.
Compounding errors on floating point representations of currency kill you.
For example, $0.01 is not exactly representable as float. How m
On Thu, Mar 28, 2019 at 3:08 PM Ashutosh Baghel
wrote:
>
> Hi folks,
>
> I am new to Go-Programming and having the following requirement, I need to
> have Array of Strings,(for example names) at my 'Go Side' .
>
> But i would get this names from my C library API which i have included in my
> Go
On Thursday, March 28, 2019 at 2:41:26 PM UTC-4, Daniel Theophanes wrote:
>
> If you represent decimals or money in Go, I'd like to hear from you:
>
> https://docs.google.com/forms/d/e/1FAIpQLScqXYCCCS4fTJXnRvB0qDWsbDXFL9tBBtwDY4y3Ym953nq5MQ/viewform
>
> I work on database/sql and a few sql drive
Hi folks,
I am new to Go-Programming and having the following requirement, I need to
have Array of Strings,(for example names) at my 'Go Side' .
But i would get this names from my C library API which i have included in
my Go program.
Note: I have liberty to modify the C library too, i could c
Hello,
If you represent decimals or money in Go, I'd like to hear from you:
https://docs.google.com/forms/d/e/1FAIpQLScqXYCCCS4fTJXnRvB0qDWsbDXFL9tBBtwDY4y3Ym953nq5MQ/viewform
I work on database/sql and a few sql drivers. I'm hoping to make working
with decimals, especially when working with data
> I'm using a wait on a Go chan, and using a defer to Release allocated
FuncOf methods. Am I missing anything else?
Are you signalling the chan to exit ? Unless that happens, those Funcs will
not be released. Typically, you have an "exit" button which is hooked to an
event listener that signal
17 matches
Mail list logo