[go-nuts] Re: Full Commit Hashes in go.mod

2019-10-08 Thread anderson . queiroz
Hi Pranay, There is no option to change the pseudo-version format. However the last part is the prefix of the commit hash. You can see more here in the docs . Regarding to ask for this feature, you can file a issue on Go's github

[go-nuts] json time format discrepancy

2019-10-08 Thread Andrey Tcherepanov
Fellas, Would someone kind to point me to a reasoning behind "func (t Time) MarshalJSON() ([]byte, error)" use "time.RFC3339Nano" formatting to spit out time in JSON, and "func (t *Time) UnmarshalJSON(data []byte) error " uses "time.RFC3339" to parse the same timestamp? I do expect

Re: [go-nuts] Compile Go application with multiple versions of C library

2019-10-08 Thread Robert Engels
You can create Go plugins too. > On Oct 8, 2019, at 7:57 AM, Vitaly Isaev wrote: > >  > Suggest we're implementing a very specific Go application like data migrator > (for example, the one that transfers data from old database to new database > with different data types). Therefore, this

[go-nuts] [ANN] Go Server Pages

2019-10-08 Thread Scott Pakin
I'm excited to announce the initial release of Go Server Pages Go Server Pages is an Apache module that lets you embed Go code within a Web page. The Go code gets executed dynamically server-side. Here's a quick example: Test of Go Server Pages You should

Re: [go-nuts] [ANN] Go Server Pages

2019-10-08 Thread Dimas Prawira
Nice work... Best regards On Wed, Oct 9, 2019, 12:16 AM Scott Pakin wrote: > I'm excited to announce the initial release of > > Go Server Pages > > Go Server Pages is an Apache module that lets you embed Go code within a > Web page. The Go code gets executed dynamically server-side. Here's a

Re: [go-nuts] json time format discrepancy

2019-10-08 Thread Jakob Borg
On 8 Oct 2019, at 19:27, Andrey Tcherepanov mailto:xnow4fippy...@sneakemail.com>> wrote: In this case it loses subsecond precision, and it just bit me (doctor says I will live). Is it a bug or some historically-important reasons that I am missing are in play there? I don't see this

[go-nuts] Compile Go application with multiple versions of C library

2019-10-08 Thread Vitaly Isaev
Suggest we're implementing a very specific Go application like data migrator (for example, the one that transfers data from old database to new database with different data types). Therefore, this application must be compiled with two different versions of one library (e.g. v1 and v2). It