testutil

package
Version: v2.0.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultIntFieldName = "int64"

	DefaultFloatFieldName = "float"

	DefaultFloatVecFieldName = "float_vec"

	DefaultDim = 128

	DefaultShards = 4
)

Variables

This section is empty.

Functions

func GenDefaultFields

func GenDefaultFields(dim int64) []*entity.Field

func GenRandomString

func GenRandomString(n int) string

RandomString returns a batch of random string

func GenSchema

func GenSchema(name string, autoId bool, fields []*entity.Field) *entity.Schema

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL