| LOW | s3/client.go | 21 | const ( |
| LOW | s3/client.go | 41 | // }, |
| LOW | s3/client.go | 81 | // single PUT request without buffering. The read is limited to untrustedLength bytes; |
| LOW | tools/loadtest/main.go | 1 | // Load test program for ntfy staging server. |
| LOW | tools/s3cli/main.go | 1 | // Command s3cli is a minimal CLI for testing the s3 package. It supports put, get, rm, and ls. |
| LOW | util/lookup_cache.go | 1 | package util |
| LOW | util/batching_queue.go | 1 | package util |
| LOW | util/sprig/defaults.go | 21 | func defaultValue(d any, given ...any) any { |
| LOW | util/sprig/defaults.go | 121 | // This function ignores any errors that occur during decoding. |
| LOW | util/sprig/defaults.go | 141 | // - any: The decoded value |
| LOW | util/sprig/defaults.go | 181 | // This function ignores any errors that occur during encoding. |
| LOW | util/sprig/defaults.go | 201 | // - string: The indented JSON string representation of the value |
| LOW | util/sprig/defaults.go | 241 | enc.SetEscapeHTML(false) |
| LOW | util/sprig/numeric.go | 61 | // Returns: |
| LOW | util/sprig/numeric.go | 121 | // add sums all the provided values. |
| LOW | util/sprig/numeric.go | 141 | // - a: The value to subtract from |
| LOW | util/sprig/numeric.go | 161 | // Panics: |
| LOW | util/sprig/numeric.go | 201 | // |
| LOW | util/sprig/numeric.go | 241 | // |
| LOW | util/sprig/numeric.go | 301 | } |
| LOW | util/sprig/numeric.go | 361 | // ceil returns the least integer value greater than or equal to the input. |
| LOW | util/sprig/numeric.go | 421 | } |
| LOW | util/sprig/reflect.go | 21 | // typeIsLike returns true if the src is the type named in target or a pointer to that type. |
| LOW | util/sprig/reflect.go | 41 | // Returns: |
| LOW | util/sprig/reflect.go | 61 | // The kind represents the specific Go type category (e.g., "string", "int", "map", "slice"). |
| LOW | util/sprig/regex.go | 21 | // mustRegexMatch checks if a string matches a regular expression pattern. |
| LOW | util/sprig/regex.go | 41 | // - n: The maximum number of matches to return (negative means all matches) |
| LOW | util/sprig/regex.go | 101 | // regexReplaceAll replaces all matches of a regular expression with a replacement string. |
| LOW | util/sprig/regex.go | 121 | // Parameters: |
| LOW | util/sprig/regex.go | 141 | // Parameters: |
| LOW | util/sprig/regex.go | 161 | // |
| LOW | util/sprig/regex.go | 181 | // Returns: |
| LOW | util/sprig/strings.go | 41 | // base32encode encodes a string to base32 using standard encoding. |
| LOW | util/sprig/strings.go | 101 | return strings.Join(out, " ") |
| LOW | util/sprig/strings.go | 121 | // - spaces: The number of spaces to add |
| LOW | util/sprig/strings.go | 141 | return "\n" + indent(spaces, v) |
| LOW | util/sprig/strings.go | 161 | // - one: The singular form of the word |
| LOW | util/sprig/strings.go | 241 | // It handles various types: |
| LOW | util/sprig/strings.go | 261 | case fmt.Stringer: |
| LOW | util/sprig/strings.go | 301 | // join concatenates the elements of a slice with a separator. |
| LOW | util/sprig/strings.go | 321 | // Returns: |
| LOW | util/sprig/strings.go | 341 | func splitList(sep, orig string) []string { |
| LOW | util/sprig/strings.go | 361 | } |
| LOW | util/sprig/strings.go | 381 | if start < 0 { |
| LOW | util/sprig/strings.go | 401 | // - If count exceeds loopExecutionLimit |
| LOW | util/sprig/strings.go | 421 | func trimAll(a, b string) string { |
| LOW | util/sprig/strings.go | 441 | // Note that the parameter order is reversed from the standard strings.TrimSuffix function. |
| LOW | util/sprig/strings.go | 461 | func contains(substr string, str string) bool { |
| LOW | util/sprig/date.go | 21 | |
| LOW | util/sprig/date.go | 41 | // If the timezone is invalid, UTC is used. |
| LOW | util/sprig/date.go | 81 | |
| LOW | util/sprig/date.go | 101 | // Parameters: |
| LOW | util/sprig/date.go | 201 | } |
| LOW | util/sprig/date.go | 221 | // Parameters: |
| LOW | util/sprig/dict.go | 1 | package sprig |
| LOW | util/sprig/dict.go | 21 | // Modifies the map in place and returns the modified map. |
| LOW | util/sprig/dict.go | 41 | // - key: The key to remove |
| LOW | util/sprig/dict.go | 181 | |
| LOW | server/server.go | 1281 | return cache, firebase, email, call, template, unifiedpush, priorityStr, nil |
| LOW | server/server.go | 2261 | return next(w, r, v) |
| 41 more matches not shown… |