mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			252 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			252 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package utils_test
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/TeaOSLab/EdgeNode/internal/utils"
 | 
						|
	"testing"
 | 
						|
	"time"
 | 
						|
)
 | 
						|
 | 
						|
func TestGMTUnixTime(t *testing.T) {
 | 
						|
	t.Log(utils.GMTUnixTime(time.Now().Unix()))
 | 
						|
}
 | 
						|
 | 
						|
func TestGMTTime(t *testing.T) {
 | 
						|
	t.Log(utils.GMTTime(time.Now()))
 | 
						|
}
 |