Re: [go-nuts] Pointer literal

2016-09-08 Thread chai2010
https://github.com/golang/go/issues/9097 2016-09-07 23:42 GMT+08:00 'Mihai B' via golang-nuts < golang-nuts@googlegroups.com>: > Hi there, > > Any HTTP API with PATCH support needs to use pointers on basic types. > Therefore I'm wondering if there is any will/proposal to make pointer > initialisa

Re: [go-nuts] Pointer literal

2016-09-07 Thread Dan Kortschak
On Wed, 2016-09-07 at 08:42 -0700, 'Mihai B' via golang-nuts wrote: > Any HTTP API with PATCH support needs to use pointers on basic types. > Therefore I'm wondering if there is any will/proposal to make pointer > initialisation easier to work with basic types. The `standard` way is > quite > ve

Re: [go-nuts] Pointer literal

2016-09-07 Thread Ian Lance Taylor
On Wed, Sep 7, 2016 at 8:42 AM, 'Mihai B' via golang-nuts wrote: > > Any HTTP API with PATCH support needs to use pointers on basic types. > Therefore I'm wondering if there is any will/proposal to make pointer > initialisation easier to work with basic types. The `standard` way is quite > verbose

[go-nuts] Pointer literal

2016-09-07 Thread 'Mihai B' via golang-nuts
Hi there, Any HTTP API with PATCH support needs to use pointers on basic types. Therefore I'm wondering if there is any will/proposal to make pointer initialisation easier to work with basic types. The `standard` way is quite verbose so it seems that most APIs use functions for every possible