Categorygithub.com/suiguo/esutils
modulepackage
1.0.2
Repository: https://github.com/suiguo/esutils.git
Documentation: pkg.go.dev

# README

esutils

convert struct with json tag to elasticsearch mapping.

its a very simple code.u can edit it by yourself,if u want to add new type. just support elasticsearch v7 and v8.

go typees type
uint8,uint16,uint32,int8,int16,int32,intinteger
uint64,int64long
float32float
float64double
time.Time,*time.Timedate
stringkeyword(default ignore_above 256)

将带有json tag的go 结构体转换成 elasticsearch的mapping.

use import "github.com/suiguo/esutils"

example

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
es host.
ignore_above.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author