mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-03 18:22:25 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			207 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			207 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build purego || appengine || js
 | 
						|
 | 
						|
// This file contains the safe implementation of nanotime using time.Now().
 | 
						|
 | 
						|
package puddle
 | 
						|
 | 
						|
import (
 | 
						|
	"time"
 | 
						|
)
 | 
						|
 | 
						|
func nanotime() int64 {
 | 
						|
	return time.Now().UnixNano()
 | 
						|
}
 |