filtertest

package
v1.2.16 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: GPL-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var D = filters.T{
	{
		IDs: tag.T{
			"92570b321da503eac8014b23447301eb3d0bbdfbace0d11a4e4072e72bb7205d",
			"92570b321da503eac8014b23447301eb3d0bbdfbace0d11a4e4072e72bb7205d",
			"92570b321da503eac8014b23447301eb3d0bbdfbace0d11a4e4072e72bb7205d",
			"92570b321da503eac8014b23447301eb3d0bbdfbace0d11a4e4072e72bb7205d",
		},
		Kinds: kinds.T{
			kind.TextNote, kind.MemoryHole, kind.CategorizedBookmarksList,
		},
		Authors: []string{
			"e9142f724955c5854de36324dab0434f97b15ec6b33464d56ebe491e3f559d1b",
			"e9142f724955c5854de36324dab0434f97b15ec6b33464d56ebe491e3f559d1b",
			"e9142f724955c5854de36324dab0434f97b15ec6b33464d56ebe491e3f559d1b",
		},
		Tags: filter.TagMap{
			"#e": {"one", "two", "three"},
			"#p": {"one", "two", "three"},
		},
		Since:  timestamp.T(time.Now().Unix() - (60 * 60)).Ptr(),
		Until:  timestamp.Now().Ptr(),
		Limit:  &ten,
		Search: "some search] terms} with bogus ]brrackets and }braces and \\\" escaped quotes \"",
	},
	{
		Kinds: []kind.T{
			kind.TextNote, kind.MemoryHole, kind.CategorizedBookmarksList,
		},
		Tags: filter.TagMap{
			"#e": {"one", "two", "three"},
			"#A": {"one", "two", "three"},
			"#x": {"one", "two", "three"},
			"#g": {"one", "two", "three"},
		},
		Until: timestamp.Now().Ptr(),
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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