FAQ
What does this format look like? An example would be nice.

If it is an offset between two absolute points in time why not just store
it in a time.Duration? That would integrate well with the stdlib's time
library for doing operations with this value.
On Wednesday, March 4, 2015 at 3:40:17 AM UTC-8, Aishwarya wrote:

In my application i am receiving a JSON data which contains a data in date
time offset format . I need to unmarshal it and store in the data base in
the same date time offset format . So is there a data type available in go
to declare a variable in tat format ????
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMar 4, '15 at 11:40a
activeMar 4, '15 at 10:33p
posts3
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase