From d0e9c04326cddeed1838e32fa382641a4a1e7fa1 Mon Sep 17 00:00:00 2001 From: ge Date: Tue, 22 Apr 2025 19:27:53 +0300 Subject: [PATCH] upd doc, version --- README.md | 2 +- licenseid.v | 2 +- v.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d027d94..63fbcb4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Query the SPDX license list and licenses information +# Query the SPDX license list `licenseid` module embeds the SPDX license list data file taken from https://spdx.org/licenses/licenses.json and allows you to obtain basic diff --git a/licenseid.v b/licenseid.v index 7a0d420..7e93d7d 100644 --- a/licenseid.v +++ b/licenseid.v @@ -47,7 +47,7 @@ pub: } // details fetches the license details object from SPDX data file using the -// details_url. Requires access to public network. +// details_url. Requires access to internet. pub fn (l License) details() !LicenseDetails { response := http.get(l.details_url)! details := json.decode(LicenseDetails, response.body)! diff --git a/v.mod b/v.mod index abe1e75..dc63384 100644 --- a/v.mod +++ b/v.mod @@ -1,7 +1,7 @@ Module{ name: 'licenseid' description: 'Query the SPDX license list and licenses information' - version: '0.0.1' + version: '0.0.2' license: 'Unlicense' dependencies: [] }