You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
333 B

package hbaseHandle
import (
"fmt"
"testing"
"github.com/TremblingV5/DouTok/config/configStruct"
"github.com/TremblingV5/DouTok/pkg/configurator"
)
func TestInitHB(t *testing.T) {
var config configStruct.HBaseConfig
configurator.InitConfig(
&config, "hbase.yaml",
)
client := InitHB(config.Host)
fmt.Println(client)
}