Commit graph

12 commits

Author SHA1 Message Date
Marius Orcsik
974ac4b91e
Another go-lint improvement 2018-11-05 18:05:02 +01:00
Marius Orcsik
1bdf697577
Renamed some jsonld functions 2018-11-03 19:55:56 +01:00
Marius Orcsik
cbad1a2add
Removed some whitespaces that were confusing godoc 2018-10-18 11:58:37 +02:00
Marius Orcsik
1419759f28
Improving @context to support marshalling to string/map/array of maps 2018-08-06 15:26:20 +02:00
Marius Orcsik
7643c4abdc
Make the hack for marshaling with context even uglier
Test if marshalled object is a payloadWithContext and only replace in
output if it is.
2018-08-04 13:20:24 +02:00
Marius Orcsik
f40d875d04
Going deeper and deeper down the jsonld rabbit hole.
The current approach doesn't look too good
2018-08-01 10:52:11 +02:00
Marius Orcsik
5a2c4b51dd
Making some tag related functionality exportable
Replacing global package var Context with WithContext().Marshal()
2018-07-31 23:24:33 +02:00
Marius Orcsik
43573f7d36
Exporting tag related functionality 2018-07-26 10:44:28 +02:00
Marius Orcsik
8308c6fb22
Converted the jsonld context to be an empty interface
This allows us to support passing it just as a string or URI
2018-07-16 13:26:26 +02:00
Marius Orcsik
5d39ddce9a
Output the @context key when marshalling 2018-07-09 11:15:19 +02:00
Marius Orcsik
8bd5130d0f
Move the context to a package variable 2018-07-06 22:33:47 +02:00
Marius Orcsik
978985644e
Refactored how the repo looks 2018-07-06 12:48:04 +02:00
Renamed from src/jsonld/encode.go (Browse further)