package
Version:
v1.0.9
Opens a new window with list of versions in this module.
Published: Jun 4, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
var QueryID Query = func(groupID string) string {
return fmt.Sprintf("\"query\":{\"$and\":[{\"groupId\":{\"$exists\":true}},{\"srvId\":{\"$exists\":true}},{\"groupId\":{\"$eq\":\"%s\"}}]}", groupID)
}
var QueryName Query = func(name string) string {
return fmt.Sprintf("\"query\":{\"$and\":[{\"groupId\":{\"$exists\":true}},{\"srvId\":{\"$exists\":true}},{\"name\":{\"$eq\":\"%s\"}}]}", name)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.