Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 672 Bytes

README.md

File metadata and controls

53 lines (39 loc) · 672 Bytes

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+