You've already forked nyx
							
							
				mirror of
				https://github.com/rls-moe/nyx
				synced 2025-10-30 12:04:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			251 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			251 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package resources
 | |
| 
 | |
| import (
 | |
| 	"go.rls.moe/nyx/resources/snowflakes"
 | |
| 	"time"
 | |
| )
 | |
| 
 | |
| var fountain = snowflakes.Generator{
 | |
| 	StartTime: time.Date(
 | |
| 		2017, 03, 11,
 | |
| 		11, 12, 29,
 | |
| 		0, time.UTC).Unix(),
 | |
| }
 | |
| 
 | |
| func getID() (int64, error) {
 | |
| 	return fountain.NewID()
 | |
| }
 |