Serving to a locale may be helped with this blog: https://blog.golang.org/matchlang
This library looks like it has implementations for finding the OS locale: https://github.com/cloudfoundry-attic/jibber_jabber Matt On Wednesday, February 14, 2018 at 7:40:47 AM UTC-6, prabhakara...@gmail.com wrote: > > Hello All, > I'm a newbee to Golang and am trying to fetch the default server locale. > Can you help me how I can fetch the default server locale in golang? > > In other words, I'm looking for the Java equivalent code in golang i.e ' > Locale.getDefault()' > > Thanks > Anish > > > -- 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 options, visit https://groups.google.com/d/optout.