github.com/PandaGoAdmin/utils@v0.0.0-20211208134815-d5461603a00f/docs/todo.md (about) 1 ### 参考项目 2 - https://www.php2golang.com/ 3 - https://github.com/alessiosavi/GoGPUtils -x 4 - https://github.com/b3log/gulu -x 5 - https://github.com/syyongx/php2go -x 6 - https://github.com/openset/php2go -x 7 - https://github.com/yioio/fun -x 8 - https://github.com/henrylee2cn/goutil -x 9 - https://github.com/nutzam/zgo -x 10 - https://github.com/bitnami/gonit -x 11 - https://github.com/otiai10/copy -x 12 - https://github.com/polaris1119/goutils -x 13 - https://github.com/LyricTian/lib -x 14 - https://github.com/antongulenko/golib -x 15 - https://github.com/bocajim/helpers -x 16 - https://github.com/elimisteve/fun -x 17 - https://github.com/emirozer/go-helpers -x 18 - https://github.com/evilsocket/islazy -x 19 - https://github.com/fatih-yavuz/go-helpers -x 20 - https://github.com/hhxsv5/go-helpers -x 21 - https://github.com/idoall/TokenExchangeCommon/tree/master/commonutils -x 22 - https://github.com/jiazhoulvke/goutil -x 23 - https://github.com/jimmykuu/webhelpers -x 24 - https://github.com/kooksee/cmn -x 25 - https://github.com/kooksee/g -x 26 - https://github.com/kooksee/common -x 27 - https://github.com/leifengyao/go2php -x 28 - https://github.com/leizongmin/go-utils -x 29 - https://github.com/lets-go-go/helper -x 30 - https://github.com/mylxsw/go-toolkit -x 31 - https://github.com/nletech/go-func -x 32 - https://github.com/orivil/helper -x 33 - https://github.com/relunctance/goutils -x 34 - https://github.com/seiflotfy/do -x 35 - https://github.com/shuangdeyu/helper_go -x 36 - https://github.com/sohaha/zlsgo -x 37 - https://github.com/stephanbaker/go-simpletime -x 38 - https://github.com/vence722/convert -x 39 - https://github.com/jinzhu/now -x 40 - https://github.com/thinkeridea/go-extend -x 41 - https://github.com/lalamove/nui -x 42 - https://github.com/go-eyas/toolkit -x yy 43 - https://github.com/hwholiday/learning_tools -x 44 - https://github.com/nothollyhigh/kiss -x 45 - https://github.com/huandu/xstrings -x 46 - https://github.com/bytedance/go-tagexpr -x 47 - https://github.com/pibigstar/go-demo -x 48 - https://github.com/techoner/gophp -x 49 - https://github.com/m3ng9i/go-utils -x 50 - https://github.com/torden/go-strutil -x 51 - https://golang.hotexamples.com/examples/unicode/-/IsControl/golang-iscontrol-function-examples.html -x 52 - https://github.com/idoall/TokenExchangeCommon/blob/master/commonutils/utils.go -x 53 - https://github.com/afanti-com/utils-go -x 54 - https://github.com/solo-io/go-utils -x 55 - https://github.com/txthinking/x -x 56 - https://github.com/TruthHun/gotil -x 57 - https://github.com/xiaonanln/go-xnsyncutil -x 58 - https://github.com/0xrawsec/golang-utils -x 59 - https://github.com/Laisky/go-utils -x 60 - https://github.com/xgfone/go-tools -x 61 - https://github.com/printfcoder/goutils -x 62 - https://github.com/space307/go-utils -x 63 - https://github.com/liuyongshuai/goUtils -x 64 - https://github.com/Jordanzuo/goutil -x 65 - https://github.com/gxxgle/go-utils -x 66 - https://github.com/q191201771/naza -x 67 - https://github.com/kirinlabs/utils -x 68 - https://github.com/xinliangnote/go-util -x 69 - https://github.com/docker/go-units -x 70 - https://github.com/alecthomas/units -x 71 - https://github.com/prashantv/gostub -x 72 - https://github.com/tgulacsi/go -x 73 - https://github.com/UlricQin/goutils -x 74 - https://github.com/chanxuehong/util -x 75 - https://github.com/Akagi201/utilgo -x 76 - https://github.com/fastly/go-utils -x 77 - https://github.com/Teamwork/utils -x 78 - https://github.com/OneOfOne/go-utils -x 79 - https://github.com/bitrise-io/go-utils -x 80 - https://github.com/ik5/gostrutils -x 81 - https://github.com/hacdias/fileutils -x 82 - https://github.com/gookit/goutil -x 83 - https://github.com/henrylee2cn/utils -x 84 - https://github.com/billmi/go-utils -x 85 - https://github.com/zcalusic/sysinfo -x 86 - https://github.com/mackerelio/go-osstat -x 87 - https://github.com/unknwon/com -x 88 - https://github.com/huandu/xstrings -x 89 - https://github.com/astaxie/beego/tree/develop/utils -x 90 - https://github.com/pubgo/g -x 91 - https://github.com/layidao/utilx -x 92 - https://github.com/siddontang/go -x 93 - https://github.com/sohaha/zlsgo -x 94 - https://github.com/ifree2017/EasyGoLib -x 95 - https://github.com/go-board/x-go 96 - https://github.com/qiniu/x 97 - https://github.com/iiinsomnia/yiigo 98 - https://github.com/xxjwxc/public 99 - https://github.com/deepzz0/go-com 100 - https://github.com/hprose/hprose-go 101 - https://github.com/wumansgy/goEncrypt 102 - https://github.com/hyperjiang/php 103 - github.com/Unknwon/com 104 - github.com/thoas/go-funk 105 - https://github.com/mitchellh/go-homedir 106 - https://github.com/Kretech/xgo 107 - github.com/qit-team/snow-core 108 - github.com/willf/pad 109 - github.com/serkanalgur/phpfuncs 110 - https://github.com/Nx-117/cyan 111 - https://github.com/ThreeKing2018/goutil 112 - https://github.com/tal-tech/xtools 113 - 114 115 116 117 ### 其他库 118 - https://github.com/lalamove/konfig 119 - https://github.com/jinzhu/configor 120 - https://github.com/denisbrodbeck/machineid 121 - github.com/karrick/godirwalk 122 - https://github.com/gobwas/pool 123 - https://github.com/shirou/gopsutil 124 - https://github.com/sunmi-OS/gocore 125 - https://github.com/akhenakh/statgo 126 - https://github.com/elastic/go-sysinfo 127 - https://github.com/matishsiao/goInfo 128 - https://github.com/badoux/checkmail 129 130 131 ### TODO 132 - 时间轮定时器 133 - 简单http请求 134 - 增加sync.go 135 136 pid 137 https://github.com/bitnami/gonit/blob/master/utils/process.go 138 https://github.com/henrylee2cn/goutil/blob/master/pid_file.go 139 https://github.com/facebookarchive/pidfile/blob/master/pidfile.go 140 https://github.com/struCoder/pidusage/blob/master/pidusage.go 141 142 143 ping 144 https://github.com/bocajim/helpers/blob/master/ping.go 145 146 http/curl 147 https://github.com/mreiferson/go-httpclient 148 https://github.com/elimisteve/fun/blob/master/fetch.go 149 https://github.com/nareix/curl 150 https://github.com/andelf/go-curl 151 https://github.com/parnurzeal/gorequest 152 https://github.com/go-resty/resty 153 https://github.com/gojek/heimdall 154 https://github.com/dghubble/sling 155 https://github.com/h2non/gentleman 156 https://github.com/guonaihong/gout 157 https://github.com/levigross/grequests 158 https://github.com/alessiosavi/Requests 159 160 161 162 queue 163 https://github.com/evilsocket/islazy/blob/master/async/queue.go 164 165 debug 166 https://colobu.com/2018/11/03/get-function-name-in-go/ 167 https://colobu.com/2016/12/21/how-to-dump-goroutine-stack-traces/ 168 https://stackoverflow.com/questions/19094099/how-to-dump-goroutine-stacktraces 169 https://github.com/rfyiamcool/stack_dump 170 https://www.jianshu.com/p/abbe6663b672 171 https://github.com/go-delve/delve 172 173 array sort 174 https://loesspie.com/2018/05/07/go-sort-with-multiple-parameters/ 175 https://stackoverflow.com/questions/36122668/how-to-sort-struct-with-multiple-sort-parameters 176 https://yourbasic.org/golang/how-to-sort-in-go/ 177 https://itimetraveler.github.io/2016/09/07/%E3%80%90Go%E8%AF%AD%E8%A8%80%E3%80%91%E5%9F%BA%E6%9C%AC%E7%B1%BB%E5%9E%8B%E6%8E%92%E5%BA%8F%E5%92%8C%20slice%20%E6%8E%92%E5%BA%8F/ 178 https://blog.csdn.net/chenbaoke/article/details/42340301 179 https://stackoverflow.com/questions/37695209/golang-sort-slice-ascending-or-descending 180 https://www.cnblogs.com/kaixinyufeng/p/9609160.html 181 https://www.cnblogs.com/chenpingzhao/p/4688526.html 182 https://github.com/torden/go-strutil 183 184 setInterval 185 https://www.loxodrome.io/post/set-timeout-interval-go/ 186 https://stackoverflow.com/questions/16466320/is-there-a-way-to-do-repetitive-tasks-at-intervals 187 https://github.com/giuseppesalvo/tm 188 https://github.com/coreybutler/go-timer 189 https://github.com/cube-group/go-timer 190 https://github.com/goinstant/delayd 191 https://zhuanlan.zhihu.com/p/55295257 192 https://github.com/segmentio/timers 193 https://github.com/noaway/heartbeat 194 https://github.com/liberalman/timer_server 195 https://github.com/alex023/clock 196 https://github.com/henrylee2cn/timer 197 https://github.com/RussellLuo/timingwheel 198 https://github.com/zhangwei1234/go-timer-wheel 199 https://github.com/antlabs/timer 200 201 serialize 202 https://segmentfault.com/q/1010000010690732 203 https://github.com/yvasiyarov/php_session_decoder/tree/master/php_serialize 204 https://segmentfault.com/a/1190000016818544 205 https://stackoverflow.com/questions/28020070/golang-serialize-and-deserialize-back 206 https://github.com/techoner/gophp/tree/master/serialize 207 208 net 简单http请求方法 209 https://github.com/shuangdeyu/helper_go/blob/master/nethelper/http.go 210 https://github.com/sohaha/zlsgo/blob/master/zhttp/client.go 211 https://github.com/go-eyas/toolkit/tree/master/http 212 213 base58 214 https://godoc.org/github.com/btcsuite/btcutil/base58 215 https://github.com/itchyny/base58-go 216 https://blog.csdn.net/idwtwt/article/details/80740474 217 https://studygolang.com/articles/16870 218 https://github.com/mr-tron/base58 219 https://github.com/shuangdeyu/helper_go/blob/master/pwdhelper/base58.go 220 https://blog.csdn.net/jason_cuijiahui/article/details/79280362 221 222 mutex 223 https://github.com/nothollyhigh/kiss/blob/master/sync/mutex.go 224 225 levenshtein 226 https://syslog.ravelin.com/searching-for-levenshtein-eff8093b11d4 227 https://www.socketloop.com/tutorials/golang-levenshtein-distance-example 228 https://www.golangprograms.com/golang-program-for-implementation-of-levenshtein-distance.html 229 https://github.com/philpearl/levenshtein/blob/master/levenshtein.go 230 https://github.com/lithammer/fuzzysearch/blob/master/fuzzy/levenshtein.go 231 https://github.com/schollz/closestmatch/blob/master/levenshtein/levenshtein.go 232 https://github.com/agnivade/levenshtein/blob/master/levenshtein.go 233 https://github.com/arbovm/levenshtein/blob/master/levenshtein.go 234 https://github.com/texttheater/golang-levenshtein/blob/master/levenshtein/levenshtein.go 235 https://github.com/ferhatelmas/levenshtein/blob/master/levenshtein.go 236 https://github.com/jbowles/disfun/blob/master/levenshtein.go 237 238 pack/unpack binary pack 239 https://gist.github.com/cloveryume/9a59e8d77f5836f11720#file-golang_struct_packed-go 240 https://github.com/lunixbochs/struc 241 https://github.com/roman-kachanovsky/go-binary-pack 242 https://github.com/syyongx/php2go/blob/master/php.go 243 https://golangtc.com/t/55237dd8421aa9704b0000cb 244 https://juejin.im/entry/5a9cec4ff265da239c7ad86d 245 https://learnku.com/articles/31460 246 https://stackoverflow.com/questions/32685687/convert-string-to-binary-in-go 247 https://stackoverflow.com/questions/37349071/golang-how-to-convert-string-to-binary-representation/37350639 248 https://stackoverflow.com/questions/40182289/golang-equivalent-of-pythons-struct-pack-struct-unpack 249 https://stackoverflow.com/questions/8039552/byte-endian-convert-by-using-encoding-binary-in-go 250 https://studygolang.com/articles/2791 251 https://www.reddit.com/r/golang/comments/7pwlh6/binary_string_to_readable_string/ 252 253 254 go get current package name 255 https://stackoverflow.com/questions/25262754/how-to-get-name-of-current-package-in-go 256 257 go get current file path 258 https://coderwall.com/p/_fmbug/go-get-path-to-current-file 259 https://github.com/unknwon/gcblog/blob/master/content/04-go-caller.md 260 https://colobu.com/2018/11/03/get-function-name-in-go/ 261 262 263 DeleteSlice 删除切片元素/多个 264 https://blog.csdn.net/yue7603835/article/details/71196181 265 266 golang 根据PID获取进程的执行路径 267 https://www.systutorials.com/how-to-get-the-running-process-pid-in-go/ 268 https://blog.csdn.net/weixin_42324368/article/details/107872138 269 https://blog.csdn.net/qq_27870421/article/details/103290155 270 https://blog.csdn.net/ycf8788/article/details/99074801 271 https://stackoverflow.com/questions/15204162/check-if-a-process-exists-in-go-way 272 https://github.com/golang/go/issues/33814 273 https://www.btaz.com/mac-os-x/find-the-process-listening-to-port-on-mac-os-x/ 274 https://blog.jayway.com/2012/09/08/finding-the-pid-listening-on-a-specific-port-on-mac-os-x/ 275 https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac 276 277 278 结构体转MAP 279 https://github.com/fatih/structs 280 https://www.liwenzhou.com/posts/Go/struct2map/ 281 https://www.cnblogs.com/liang1101/p/6741262.html 282 https://www.cnblogs.com/Detector/p/9746284.html 283 https://juejin.cn/post/6855129007193915400 284 285 字符编码 286 https://github.com/hydra13142/chardet 287 https://github.com/fesiong/goproject 288 https://github.com/djimenez/iconv-go 289 https://pkg.go.dev/golang.org/x/net/html/charset 290 https://github.com/timakin/gonvert 291 https://github.com/spiegel-im-spiegel/text 292 https://github.com/saintfish/chardet 293 https://siongui.github.io/2018/10/27/auto-detect-and-convert-html-encoding-to-utf8-in-go/ 294 295