https://github.com/golang/go/issues/10608
bep
fredag 6. oktober 2017 07.22.49 UTC+2 skrev Hein Meling følgende:
>
> Hi all,
>
> Please see linked example code. I've been trying set a "global" variable
> ($LastName in the example) for use inside a named template
Thanks, snmed,
I was looking at LoadOrStore, but I was assuming that any func would be
executed in any case.
A more illustrative running sample of your first example:
https://play.golang.org/p/vjlVu1GnUQ
Thanks again!
bep
fredag 1. september 2017 08.24.10 UTC+2 skrev snmed følgende:
>
&
ith a sync.Map without adding a
mutex.
bep
--
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 optio
te it from disk/erease it.
But then he mentioned:
https://golang.org/pkg/os/#Remove
I don't expect the os.Remove* funcs to ever be renamed, but wouldn't it be
more precise if they were named os.Delete etc.?
bep
--
You received this message because you are subscribed to the Google
- go1.7 0.17-DEV 21.830323612s - All OK
- go1.7 0.17-MULTILINGUAL 23.164846844s - All OK
That should be a great 10%+ speedup, and that in an application I would
already consider pretty fast.
https://github.com/bep/hugo-benchmark
tirsdag 16. august 2016 02.04.08 UTC+2 skrev chai2010
I wrote this as part of a feature in Hugo, the static site generator, to
use the last updated timestamp from the Git repo as the page modification
date. But then I thought it might be interesting to others (and myself), so
I pulled the code into its own repo.
https://github.com/bep/gitmap
A
No.
See https://github.com/golang/go/issues/10608
In Hugo I built a hackish workaround, see http://gohugo.io/extras/scratch/
bep
onsdag 20. juli 2016 20.56.47 UTC+2 skrev Tong Sun følgende:
>
> How to conditionally set go template variables?
>
> I want the output of the fo