Affected by GO-2024-3228
and 2 other vulnerabilities
GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
GO-2025-3921: Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
GO-2025-3938: Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder

The highest tagged major version is
v2.
package
Version:
v0.8.10
Opens a new window with list of versions in this module.
Published: Aug 30, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ptr contains some utility methods related to pointers.
NilOrEmpty returns true if s is nil or the empty string.
func NilOrZero[T number](v *T) bool
NilOrZero returns true if v is nil or 0.
NilToEmpty coalesces a nil str to the empty string.
Ref returns a reference to v.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.