github.com/dubbogo/gost@v1.14.0/README.md (about) 1 # gost 2 3 [![Build Status](https://travis-ci.org/dubbogo/gost.png?branch=master)](https://travis-ci.org/dubbogo/gost) 4 [![codecov](https://codecov.io/gh/dubbogo/gost/branch/master/graph/badge.svg)](https://codecov.io/gh/dubbogo/gost) 5 [![GoDoc](https://godoc.org/github.com/dubbogo/gost?status.svg)](https://godoc.org/github.com/dubbogo/gost) 6 [![Go Report Card](https://goreportcard.com/badge/github.com/dubbogo/gost)](https://goreportcard.com/report/github.com/dubbogo/gost) 7 ![license](https://img.shields.io/badge/license-Apache--2.0-green.svg) 8 9 A go sdk for [Apache Dubbo-go](https://github.com/apache/dubbo-go). 10 11 ## bytes 12 13 * BytesBufferPool 14 > bytes.Buffer pool 15 16 * SlicePool 17 > slice pool 18 19 ## container 20 21 * queue 22 > Queue 23 24 * set 25 > HashSet 26 27 ## log 28 29 > output log with color and provides pretty format string 30 31 ## math 32 33 * Decimal 34 35 ## net 36 37 * GetLocalIP() (string, error) 38 * IsSameAddr(addr1, addr2 net.Addr) bool 39 * ListenOnTCPRandomPort(ip string) (*net.TCPListener, error) 40 * ListenOnUDPRandomPort(ip string) (*net.UDPConn, error) 41 42 ## page 43 > Page for pagination. It contains the most common functions like offset, pagesize. 44 45 ## runtime 46 47 * GoSafely 48 > Using `go` in a safe way. 49 50 * GoUnterminated 51 > Run a goroutine in a safe way whose task is long live as the whole process life time. 52 53 ## runtime 54 55 * GoSafely 56 > Using `go` in a safe way. 57 * GoUnterminated 58 > Run a goroutine in a safe way whose task is long live as the whole process life time. 59 60 ## sync 61 62 * TaskPool 63 64 ## strings 65 66 * IsNil 67 > check a var is nil or not. 68 69 ## time 70 > Timer optimization through time-wheel.