Discover Packages
github.com/Defacto2/df2
pkg
groups
internal
group
package
Version:
v1.10.3
Opens a new window with list of versions in this module.
Published: Feb 1, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Variables
func Count(name string) (int, error)
func List(s string) (groups []string, total int, err error)
func SQLFilter(f Filter) (string, error)
func SQLSelect(f Filter, includeSoftDeletes bool) (string, error)
func SQLWhere(f Filter, includeSoftDeletes bool) (string, error)
func Slug(s string) string
func UseHr(prevLetter, group string) (string, bool)
type Filter
type Request
Count returns the number of file entries associated with a named group.
List all organisations or groups filtered by s.
SQLFilter returns a partial SQL WHERE statement to filter groups.
SQLSelect returns a complete SQL WHERE statement where the groups are filtered.
SQLWhere returns a partial SQL WHERE statement where groups are filtered.
Slug takes a string and makes it into a URL friendly slug.
Use a HR element to mark out the groups alphabetically.
Filter group by role or function.
const (
None Filter = iota
BBS
FTP
Group
Magazine
)
Get the Filter type from s.
Request flags for group functions.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.