snowflake 0.0.1
snowflake: ^0.0.1 copied to clipboard

snowflake for Dart.

snowflake for Dart

Usage #

A simple usage example:

import 'package:snowflake/snowflake.dart';

main() {
  var cfg = config(1,2,1288834974657);

  var worker = idWorker(cfg);
  print(worker.generate());
}