Images/Non-images post work, several bug fixes, UI fixes

This commit is contained in:
Tim Schuster committed 2017-03-13 18:45:23 +01:00
1 parent 4177901714
commit afd9ae71cf
21 files changed
+2206 -23

No files matched your search

+4
View File
@@ -27,6 +27,10 @@ type Generator struct {
now int64
}
func (g *Generator) IDToUnix(id int) int {
return (id >> counterLen) + int(g.StartTime)
}
// NewID generates a new, unique snowflake value
//
// Up to 8192 snowflakes per second can be requested