Captain ALM
ef3c387f39
All checks were successful
continuous-integration/drone/push Build is passing
Improve Makefile and add new compilation fields.
11 lines
175 B
Go
11 lines
175 B
Go
package utils
|
|
|
|
type BufferedWriter struct {
|
|
Data []byte
|
|
}
|
|
|
|
func (c *BufferedWriter) Write(p []byte) (n int, err error) {
|
|
c.Data = append(c.Data, p...)
|
|
return len(p), nil
|
|
}
|