github.com/TeaOSLab/EdgeNode@v1.3.8/internal/utils/time_test.go (about)

     1  package utils_test
     2  
     3  import (
     4  	"github.com/TeaOSLab/EdgeNode/internal/utils"
     5  	"testing"
     6  	"time"
     7  )
     8  
     9  func TestGMTUnixTime(t *testing.T) {
    10  	t.Log(utils.GMTUnixTime(time.Now().Unix()))
    11  }
    12  
    13  func TestGMTTime(t *testing.T) {
    14  	t.Log(utils.GMTTime(time.Now()))
    15  }