gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/txsec/tx_sec_factory.go (about)

     1  package txsec
     2  
     3  import (
     4  	"fmt"
     5  	"runtime"
     6  )
     7  
     8  func GetDefaultXTSex() XTSec {
     9  	OS := runtime.GOOS
    10  	fmt.Println("runing os is " + OS)
    11  	//if OS == "windows" {
    12  	//	return &XTSecWin{}
    13  	//}
    14  	//
    15  	//if OS == "linux" {
    16  	//	return &XTSecLinux{}
    17  	//}
    18  
    19  	return &XTSecWin{}
    20  }