GoUtils

module
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: OSL-3.0

README

GoUtils

Here we put something that should be part of the standard lib. Some functionality of the standrard lib is not convienent as can be or scattered.

Collections:

List

LinkedList

Queue

Stack

Hashset

Filesystem utilities:

Path

  • Combine
  • Exists
  • GetFileName
  • GetExtension
  • GetFullPath
  • GetRelativePath
  • IsDirectory
  • IsFile
  • TrimEndingDirectorySeparator

Directory

  • Create
  • CreateSubdrectory
  • Delete
  • DeleteAll
  • GetDirectories
  • GetFiles

FileInfo

  • Create
  • Delete
  • Directory
  • Exists
  • Name
  • ReadAllText
  • ReadBytes
  • ReadFileLines
  • WriteAllText
  • WriteBytes

Requirement: Go 1.23+

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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