I would like to be able to call the runtime implemented "now()" function
similar to how the "time" package does.
For example the Time.Now() function in the time package looks like the
following
func now() (sec int64,nsec int32, mono int64)
func Now() Time{
sec, nsec, mono := now()
...
that you still have the
> necessary compatiblity. It is, perhaps, also worth looking at for a Go 2.x.
>
> On Sun, Oct 15, 2017 at 2:59 AM traetox >
> wrote:
>
>> I would like to be able to call the runtime implemented "now()" function
>> similar to how the
Hello all,
I have swept through the list and gone through the pkg/encoding/json
package and _believe_ I haven't missed anything, but am not 100% sure.
When encoding structures into JSON which contain slices/arrays/maps my
frontend devs consistently complain about the encoding of empty or nil
m
x27;t
support that patch" or "sure, go for it."
Thank you,
Kris
On Thursday, March 30, 2017 at 9:10:38 AM UTC-6, C Banning wrote:
>
> Why not provide a "NewFoo() *Foo" function instead?
> https://play.golang.org/p/GE8cMgwe24
>
> On Monday, March 27, 20