Skip to content

RENCI/GoUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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+

About

Here we put something that should be part of the standard lib.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages