Skip to content

Bunch of helper functions for go. You may check either test files or comments for example i/o

Notifications You must be signed in to change notification settings

fatih-yavuz/go-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-helpers

Utility library for personal use. I'll keep adding helper functions as I need. Feel free to contribute.

bytes

func Compress(byt []byte) ([]byte, error)

function

func Caller() string
func Name(i interface{}) string

log

func Error(err error)

strings

func RemoveAfter(str string, after string) string
func RemoveAfterwards(str string, after string) string 

extract

url

from
func FilePath(path string) (string, error)

normalize

func Url(path string) (string, error)

url

func FilePath(u string) (string, error)
func Host(u string) (string, error)
func Validate(u string) bool

About

Bunch of helper functions for go. You may check either test files or comments for example i/o

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages