upd doc, version
This commit is contained in:
@ -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
|
||||
|
@ -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)!
|
||||
|
Reference in New Issue
Block a user