utils

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsValidColumnType = validation.StringInSlice([]string{
	"BOOLEAN",
	"DATE",
	"DOUBLE",
	"FLOAT",
	"INT8",
	"INT16",
	"INT32",
	"INT64",
	"JSON",
	"STRING",
	"TIMESTAMP",
	"CLICKHOUSE",
}, false)
View Source
var IsValidOperator = validation.StringInSlice([]string{
	"EQUALS",
	"NOT_EQUALS",
	"GREATER_THAN",
	"GREATER_THAN_OR_EQUAL_TO",
	"LESS_THAN",
	"LESS_THAN_OR_EQUAL_TO",
	"IS_NULL",
	"IS_NOT_NULL",
}, false)

Functions

func GetUserAgent

func GetUserAgent(clientUserAgent string) string

GetUserAgent augments the default user agent with provider details

Types

This section is empty.

Jump to

Keyboard shortcuts

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