@@ -13,6 +13,7 @@ Various utilities for Go and TypeScript including:
13
13
14
14
- [ backoff] : configurable backoff
15
15
- [ broadcast] : channel-based broadcast (similar to sync.Cond)
16
+ - [ bufio] : SplitOnNul is a bufio.SplitFunc that splits on NUL characters
16
17
- [ ccall] : call a set of functions concurrently and wait for error or exit
17
18
- [ ccontainer] : concurrent container for objects
18
19
- [ commonprefix] : find common prefix between strings
@@ -22,56 +23,73 @@ Various utilities for Go and TypeScript including:
22
23
- [ debounce-fswatcher] : debounce fs watcher events
23
24
- [ enabled] : three-way boolean proto enum
24
25
- [ exec] : wrapper around Go os exec
26
+ - [ filter] : filter strings by regex, prefix, suffix, etc.
25
27
- [ fsutil] : utilities for os filesystem
28
+ - [ gitcmd] : running git from Go
26
29
- [ gitroot] : git repository root finder
27
30
- [ httplog/fetch] : JS Fetch API wrapper with logging for WASM
28
31
- [ httplog] : HTTP request and response logging utilities
29
32
- [ iocloser] : wrap reader/writer with a close function
30
- - [ iowriter] : io.Writer implementation with callback function
33
+ - [ ioproxy] : read/write between two different Go streams
34
+ - [ ioseek] : ReaderAtSeeker wraps an io.ReaderAt to provide io.Seeker behavior
31
35
- [ iosizer] : read/writer with metrics for size
36
+ - [ iowriter] : io.Writer implementation with callback function
32
37
- [ js/fetch] : Fetch API wrapper for WASM
33
38
- [ js/readable-stream] : ReadableStream wrapper for WASM
39
+ - [ js] : syscall/js utils for go
34
40
- [ keyed] : key/value based routine management
35
41
- [ linkedlist] : linked list with head/tail
36
42
- [ memo] : memoize a function: call it once and remember results
37
43
- [ padding] : pad / unpad a byte array slice
38
44
- [ prng] : psuedorandom generator with seed
39
45
- [ promise] : promise mechanics for Go (like JS)
40
46
- [ refcount] : reference counter ccontainer
47
+ - [ result] : contains the result tuple from an operation
48
+ - [ retry] : retry an operation in Go
41
49
- [ routine] : start, stop, restart, reset a goroutine
42
50
- [ scrub] : zero a buffer after usage
43
51
- [ unique] : deduplicated list of items by key
52
+ - [ vmime] : validate mime type
44
53
45
54
[ backoff ] : ./backoff
46
55
[ broadcast ] : ./broadcast
56
+ [ bufio ] : ./bufio
47
57
[ ccall ] : ./ccall
48
58
[ ccontainer ] : ./ccontainer
49
59
[ commonprefix ] : ./commonprefix
50
60
[ conc ] : ./conc
51
61
[ cqueue ] : ./cqueue
52
62
[ csync ] : ./csync
53
63
[ debounce-fswatcher ] : ./debounce-fswatcher
64
+ [ enabled ] : ./enabled
54
65
[ exec ] : ./exec
66
+ [ filter ] : ./filter
55
67
[ fsutil ] : ./fsutil
68
+ [ gitcmd ] : ./gitcmd
69
+ [ gitroot ] : ./gitroot
56
70
[ httplog/fetch ] : ./httplog/fetch
57
71
[ httplog ] : ./httplog
58
72
[ iocloser ] : ./iocloser
59
- [ iowriter ] : ./iowriter
73
+ [ ioproxy ] : ./ioproxy
74
+ [ ioseek ] : ./ioseek
60
75
[ iosizer ] : ./iosizer
76
+ [ iowriter ] : ./iowriter
61
77
[ js/fetch ] : ./js/fetch
62
78
[ js/readable-stream ] : ./js/readable-stream
79
+ [ js ] : ./js
63
80
[ keyed ] : ./keyed
64
81
[ linkedlist ] : ./linkedlist
65
82
[ memo ] : ./memo
66
83
[ padding ] : ./padding
67
84
[ prng ] : ./prng
68
85
[ promise ] : ./promise
69
86
[ refcount ] : ./refcount
87
+ [ result ] : ./result
88
+ [ retry ] : ./retry
70
89
[ routine ] : ./routine
71
90
[ scrub ] : ./scrub
72
91
[ unique ] : ./unique
73
92
[ vmime ] : ./vmime
74
- [ vmime ] : ./vmime
75
93
76
94
## License
77
95
0 commit comments