package main import ( "net" "testing" ) func TestConnection(t *testing.T) { t.Run("Test Connection", func(t *testing.T) { }) } func TestScanIp(t *testing.T) { t.Run("Test Scan IP", func(t *testing.T) { }) } type MockConn struct { net.Conn } func (m *MockConn) Read(b []byte) (int, error) { return 0, nil }