Skip to content

helper library for string, file, error queueing, cmd.exec wrapper, etc.

License

Notifications You must be signed in to change notification settings

J-Siu/go-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-helper Paypal donate

Collections of Golang helper modules.

Table Of Content

Features

Module Description Readme Example
array simple array template README.md
basestruct a simple struct with 5 common fields to be embedded by other structs README.md example/basestruct
cmd exec.Command shell wrapper README.md
errs simple error array for stacking error messages with prefix README.md
ezlog log functions auto detect and apply json marshal indent README.md example/ezlog/
file file/directory functions README.md
strany convert any to *string README.md example/strany/
str string/array functions README.md
ver Both package and struct level functions for constructing version string README.md example/ver

Doc

Usage

import "github.com/J-Siu/go-helper/v2"

Test

cd test
# All
go test
# Individual
go test cmd_test.go
go test file_test.go

Used By Project

Repository

Contributors

License

The MIT License (MIT)

Copyright © 2025 John, Sing Dao, Siu [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

helper library for string, file, error queueing, cmd.exec wrapper, etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages