goprefixcc

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 4 Imported by: 0

README

Go Wrapper for prefix.cc

This Go application and module is intended to provide functions for fetching the namespace of a given prefix name and for finding the prefix name of a given namespace or IRI respectively.

It is a Go wrapper for the API provided by prefix.cc.

Build

go build

This command creates a binary named goprefixcc.

Running

./goprefixcc ([-reverse] string) | -version

Usage of ./goprefixcc:
  -reverse
    	performs a reverse lookup
  -version
    	prints version of this app
Example
./goprefixcc foaf

The result would be http://xmlns.com/foaf/0.1/.

./goprefixcc -reverse "http://purl.org/dc/terms/title"

The result would be dc.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL