utils

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDatasource

func FormatDatasource(s string) string

FormatDatasource formats a datasource string for display

func MaybeAnonymizeURL

func MaybeAnonymizeURL(urlStr string) string

MaybeAnonymizeURL conditionally replaces URLs with randomly generated ones when GLEAN_CLI_ANONYMIZE is set. The same input URL will always generate the same random URL within a session.

Types

This section is empty.

Jump to

Keyboard shortcuts

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