From b9aecfb8165322e061a1a31260b3ef9199cbebd4 Mon Sep 17 00:00:00 2001 From: CatalinStratu Date: Wed, 4 May 2022 17:32:20 +0300 Subject: Add YAML and JSON documentation fixes Signed-off-by: CatalinStratu --- examples/10-jsonloader/example_json_loader.go | 4 ++-- examples/11-yamltotv/exampleyamltotv.go | 2 +- examples/12-tvtoyaml/exampletvtoyaml.go | 2 +- examples/8-jsontotv/examplejsontotv.go | 2 +- examples/9-tvtojson/exampletvtojson.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/10-jsonloader/example_json_loader.go b/examples/10-jsonloader/example_json_loader.go index 4de9561..793f10e 100644 --- a/examples/10-jsonloader/example_json_loader.go +++ b/examples/10-jsonloader/example_json_loader.go @@ -1,9 +1,9 @@ // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later -// Example for: *jsonparser2v2* +// Example for: *json* // This example demonstrates loading an SPDX JSON document from disk into memory, -// and then logging some of the attributes to the console. +// and then logging some attributes to the console. // Run project: go run example_json_loader.go ../sample-docs/json/SPDXJSONExample-v2.2.spdx.json package main diff --git a/examples/11-yamltotv/exampleyamltotv.go b/examples/11-yamltotv/exampleyamltotv.go index 006d6d9..88f2885 100644 --- a/examples/11-yamltotv/exampleyamltotv.go +++ b/examples/11-yamltotv/exampleyamltotv.go @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later -// Example for: *spdx_yaml* +// Example for: *yaml* // This example demonstrates loading an SPDX tag-value file from disk into memory, // and re-saving it to a different file on disk. diff --git a/examples/12-tvtoyaml/exampletvtoyaml.go b/examples/12-tvtoyaml/exampletvtoyaml.go index f348da7..93cd2b0 100644 --- a/examples/12-tvtoyaml/exampletvtoyaml.go +++ b/examples/12-tvtoyaml/exampletvtoyaml.go @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later -// Example for: *tvloader*, *spdx_yaml* +// Example for: *tvloader*, *yaml* // This example demonstrates loading an SPDX tag-value file from disk into memory, // and re-saving it to a different json file on disk. diff --git a/examples/8-jsontotv/examplejsontotv.go b/examples/8-jsontotv/examplejsontotv.go index fed8439..edace80 100644 --- a/examples/8-jsontotv/examplejsontotv.go +++ b/examples/8-jsontotv/examplejsontotv.go @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later -// Example for: *jsonparser2v2*, *tvsaver* +// Example for: *json*, *tvsaver* // This example demonstrates loading an SPDX json from disk into memory, // and then re-saving it to a different file on disk in tag-value format . diff --git a/examples/9-tvtojson/exampletvtojson.go b/examples/9-tvtojson/exampletvtojson.go index 2aca5cf..f7b776f 100644 --- a/examples/9-tvtojson/exampletvtojson.go +++ b/examples/9-tvtojson/exampletvtojson.go @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later -// Example for: *tvloader*, *jsonsaver* +// Example for: *tvloader*, *json* // This example demonstrates loading an SPDX tag-value file from disk into memory, // and re-saving it to a different json file on disk. -- cgit v1.2.3