helpers

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

helpers/helpers_test.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseISO8601Date

func ParseISO8601Date(dateStr string) (time.Time, error)

ParseISO8601Date attempts to parse a string date in ISO 8601 format.

func SafeOpenFile added in v0.1.30

func SafeOpenFile(filePath string) (*os.File, error)

SafeOpenFile opens a file safely after validating and resolving its path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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