File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,25 @@ func TestLog(t *testing.T) {
33
33
}
34
34
```
35
35
36
+ ## Code Comment
37
+
38
+ ### Code comment with method
39
+ ``` go
40
+ // TestLog test log
41
+ // @params t tests params
42
+ func TestLog (t *testing .T ) {
43
+ log.Info (" test" )
44
+ }
45
+
46
+ // NewAsyncWriter Write data with Buffer, this Writer and Closer is thread safety, but WriteCloser parameters not safety.
47
+ // @param w Writer
48
+ // @param bufSize accept buffer max length
49
+ // @param block if true, overflow buffer size, will blocking, if false will occur error
50
+ // @return *AsyncLogWriter
51
+ func NewAsyncWriter (w io .Writer , bufSize int , block bool ) *AsyncLogWriter {
52
+ }
53
+ ```
54
+
36
55
## Stargazers over time
37
56
38
57
[ ![ Stargazers over time] ( https://starchart.cc/acmestack/godkits.svg )] ( https://starchart.cc/acmestack/godkits )
You can’t perform that action at this time.
0 commit comments