library: bytes, regexp, regexp/syntax
This commit is contained in:
@@ -277,8 +277,9 @@ Here are the Go packages that can be imported correctly:
|
|||||||
* [log](https://pkg.go.dev/log)
|
* [log](https://pkg.go.dev/log)
|
||||||
* [flag](https://pkg.go.dev/flag)
|
* [flag](https://pkg.go.dev/flag)
|
||||||
* [sort](https://pkg.go.dev/sort)
|
* [sort](https://pkg.go.dev/sort)
|
||||||
* [strconv](https://pkg.go.dev/strconv)
|
* [bytes](https://pkg.go.dev/bytes)
|
||||||
* [strings](https://pkg.go.dev/strings)
|
* [strings](https://pkg.go.dev/strings)
|
||||||
|
* [strconv](https://pkg.go.dev/strconv)
|
||||||
* [path](https://pkg.go.dev/path)
|
* [path](https://pkg.go.dev/path)
|
||||||
* [path/filepath](https://pkg.go.dev/path/filepath)
|
* [path/filepath](https://pkg.go.dev/path/filepath)
|
||||||
* [sync/atomic](https://pkg.go.dev/sync/atomic)
|
* [sync/atomic](https://pkg.go.dev/sync/atomic)
|
||||||
@@ -290,6 +291,8 @@ Here are the Go packages that can be imported correctly:
|
|||||||
* [fmt](https://pkg.go.dev/fmt) (partially)
|
* [fmt](https://pkg.go.dev/fmt) (partially)
|
||||||
* [reflect](https://pkg.go.dev/reflect) (partially)
|
* [reflect](https://pkg.go.dev/reflect) (partially)
|
||||||
* [time](https://pkg.go.dev/time) (partially)
|
* [time](https://pkg.go.dev/time) (partially)
|
||||||
|
* [regexp](https://pkg.go.dev/regexp)
|
||||||
|
* [regexp/syntax](https://pkg.go.dev/regexp/syntax)
|
||||||
|
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|||||||
@@ -24,6 +24,10 @@ type Pool struct {
|
|||||||
func (p *Pool) Put(x any) {
|
func (p *Pool) Put(x any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO(xsw):
|
||||||
func (p *Pool) Get() any {
|
func (p *Pool) Get() any {
|
||||||
|
if p.New != nil {
|
||||||
return p.New()
|
return p.New()
|
||||||
|
}
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user