It's very reasonable, and as an actual decision, we fork that lib.
I understood that a stability of library is not so problem.
However, as Henry says, default UUID specification is defined on RFC.
Implementing it is useful, isn't it?
2018年2月9日金曜日 12時28分16秒 UTC+9 Dave Cheney:
>
> Your argument th
Thanks you for the opinion.
My colleagues are using satori/go.uuid, with web framework, "goa".
API breaking change broke that package and our team had trouble for
versioning.
https://github.com/satori/go.uuid/issues/66
I know it is not the problem of the code of uuid generation itself,
but my fri
I agree UUID is vague but supplying "default" UUID generator on the
standard package is significant.
If you'd like to use advanced ID generator, like snowflake, you can use
that package.
The problem is there is no stable and de facto standard package of it.
2018年2月9日金曜日 3時17分38秒 UTC+9 Tamás Gulá
Recently satori/go.uuid took a breaking change of API, and some of
frameworks which depend on the package.
And google/uuid is unstable.
Why Go doesn't have an official uuid package?
Is there any load map to develop google/uuid and merge it to Go itself?
--
You received this message because you
There are NullInt64 and NullFloat64, but not about NullInt, NullFloat. (or
NullInt32 etc...)
After scanning from rds, my team always convert them to int, but it seems
so silly.
What is the reason?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
Do you know any setting file like Vagrantfile or Dockerfile, which is
appropriate for this case?
2017年8月18日金曜日 17時50分30秒 UTC+9 Tamás Gulácsi:
>
> Fix your VM?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and st
I'm trying to debug and run `./all.bash` with VM or docker, but they don't
work for several reasons.
On VM, I added box of CentOS and Ubuntu, though, they cancels ./all.bash at
`hardlink` testing.
And on docker, it also fails cuz of the permission of host directory, which
includes `src`, so the
yes, I know but other languages support it as default, isn't it?
2017年2月8日水曜日 12時31分00秒 UTC+9 dja...@gmail.com:
>
>
>
> On Wednesday, February 8, 2017 at 3:58:55 AM UTC+2, 高橋誠二 wrote:
>>
>> fmt package have no *lnf method, but in other langs,
>> sometimes it i
fmt package have no *lnf method, but in other langs,
sometimes it implements Printlnf.
Is there any reason?
--
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
https://play.golang.org/p/KEGDmlLEZZ
like this, can't use var model ModelObject as FooModel struct.
I'd like to use model as FooModel variable, after inserting &FooModel{Id: 1}
to model.
Why this happen?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
sorry, referenced line was wrong.
https://github.com/golang/crypto/blob/master/ssh/keys.go#L772
2016年10月5日水曜日 3時07分45秒 UTC+9 高橋誠二:
>
> https://github.com/golang/crypto/blob/master/ssh/keys.go#L751
>
> This line blocks to parse private key, that encrypted and contains the
> en
https://github.com/golang/crypto/blob/master/ssh/keys.go#L751
This line blocks to parse private key, that encrypted and contains the
encryption header.
But is this necessary?
So much keys maybe encrypted and this disturbs to authenticate client for
ssh connection in many cases.
It should alert
As official doc explains, copy to zero length slice results to be empty.
package main
import "fmt"
func main() {
src := []int{1, 2, 3}
dst := []int{}
fmt.Println(len(dst))
copy(dst, src)
fmt.Println(src)
fmt.Println(dst)
// [1 2 3]
// []
src2 := []int{1, 2, 3
13 matches
Mail list logo