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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址