cuidapp

command module
v0.0.0-...-72fd81f Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 4 Imported by: 0

README

cuidgenapp

The cuidgenapp is a simple web application for generating Collision-Resistant Unique Identifiers (CUIDs). Developed using Go and utilizing the lucsky/cuid library, it provides a reliable way to generate unique identifiers.

Usage

Using curl

You can easily use the cuidgenapp through command line using curl. Here's how:

  • To receive a CUID as plain text, simply use:

    curl https://cuidgen.fly.dev/
    # => clq51c5uz00008ir2a9ht4ldz
    
  • To get the CUID in JSON format, include the Content-Type: application/json header in your request:

    curl -H "Content-Type: application/json" https://cuidgen.fly.dev/
    # => {"cuid":"clq51ccrz00018ir28qdqzje3"}
    

License

MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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