Re: [go-nuts] How to perform dynamic unmarsahlling

2019-09-12 Thread Dimas Prawira
Hi Abraham, To perform dynamic unmarshal, you can use reflect package in Go. May this reference give help : https://zenidas.wordpress.com/recipes/dynamic-unmarshalling-in-golang/ Thank you On Thu, Sep 12, 2019, 3:33 PM wrote: > Can anyone help me perform dynamic unmarshalling depending on

Re: [go-nuts] How Gmail API refreshes token?

2019-09-09 Thread Dimas Prawira
I never use Gmail API, maybe I will do dumb solution, running the sample in local and see how it is going on. On Mon, Sep 9, 2019 at 11:59 AM Grigorii Tkachuk wrote: > I'm looking into this example > https://github.com/gsuitedevs/go-samples/blob/master/gmail/quickstart/quickstart.go > and > I

Re: [go-nuts] Golang library for - ORM & Schema Migration

2019-09-28 Thread Dimas Prawira
t; > So even simple ORMs that allow mapping of result sets to objects help to > reduce boilerplate clutter. More advanced ORMs also offer simple type safe > queries: https://github.com/go-reform/reform > > It's still nowhere close to LINQ for C# or http://www.querydsl.com/ for >

Re: [go-nuts] Golang library for - ORM & Schema Migration

2019-09-28 Thread Dimas Prawira
migrations should not be _rarely_ if you are writing migration scripts often, that's a big big big big different problem cheers On Sat, Sep 28, 2019 at 8:03 PM Lutz Horn wrote: > alex.besogo...@gmail.com: > > But the main issue is that Go SQL interface SUCKS. It's verbose, hard to > > use and

Re: [go-nuts] Forking gotk3 not working?

2019-09-24 Thread Dimas Prawira
Maybe this is not the answer for the problem, just want to share about do 'go get-ing' a private repo, first you should do a configuration Here is the reference : https://stackoverflow.com/questions/27500861/whats-the-proper-way-to-go-get-a-private-repository On Tue, Sep 24, 2019, 11:11 PM

Re: [go-nuts] Golang library for - ORM & Schema Migration

2019-09-27 Thread Dimas Prawira
if there's something you _don't_ know how to do in SQL, and it seems the ORM can do it for you, capture the raw SQL the ORM produces and tell me if it's easier for you to understand the SQL or the random ORM API. I 100% guarantee you that the raw SQL the ORM produces will be easier to understand

Re: [go-nuts] Golang library for - ORM & Schema Migration

2019-09-27 Thread Dimas Prawira
Many Gophers don't like ORM as : 1. ORM introduce an additional layer of abstraction that doesn't accomplish anything. 2. SQL syntax is more or less the same for every database. 3. If you learn an ORM in Java, you will only ever able to use that ORM knowledge in Java. If you learn SQL, you can use

Re: [go-nuts] Go Time #100 with Robert Griesemer and myself

2019-09-27 Thread Dimas Prawira
Awesome, have to watch this.. cheers On Thu, Sep 26, 2019 at 6:14 AM Rob Pike wrote: > It's now live: https://changelog.com/gotime/100 > > > -rob > > -- > You received this message because you are subscribed to the

Re: [go-nuts] redirecting http to https

2019-09-25 Thread Dimas Prawira
I would rather to use nginx for redirecting from http to https. On Wed, Sep 25, 2019, 6:37 AM 'Julia Ma' via golang-nuts < golang-nuts@googlegroups.com> wrote: > Hi all, > I recently realized that request.URL.Scheme is not the correct field to > check whether a request is https or not (thank you

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] go module & local package

2019-10-09 Thread Dimas Prawira
Let me define this first modules are collections of packages. In Go 11, I use go modules like the following: If both packages are in the same project, you could just do the following: In go.mod: module github.com/userName/moduleName and inside your

Re: [go-nuts] Problems with windows installation v1.31.1

2019-10-09 Thread Dimas Prawira
Go v1.12.10 still has godoc in the installer package, so if you want it maybe you can choose previous version. Best Regards On Wed, Oct 9, 2019, 11:46 PM Longeri Carlos wrote: > Hi, > I'm new to go. Just installed Go on a windows10 machine, v1.31.1. > > Somehow I don't have godoc.exe in the

Re: [go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-11 Thread Dimas Prawira
Thanks, I'll check it out. Cheers Dimas On Sat, Oct 12, 2019 at 4:32 AM Sam Whited wrote: > On Fri, Oct 11, 2019, at 21:24, Dimas Prawira wrote: > > Just test using got get > > You appear to be using an old version of Go that doesn't support modules > or have it turned off or

Re: [go-nuts] GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Dimas Prawira
Hi, I have reply thread about Go mod. You can search in the mailist history. Cheers -- 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

Re: [go-nuts] liteide x36.2 released.

2019-11-12 Thread Dimas Prawira
Getting 400 Bad Request when accessing http://liteide.org On Sat, Nov 2, 2019, 9:32 PM visualfc wrote: > Hi, all. > LiteIDE X36.2 released! > This version fix gocode crash bug. Add new image viewer plugins. Folder > view support multi copy, move to trash. Fix windows floating dock > widget