services
build-and-push / detect (push) Successful in 7s
build-and-push / build (${{ fromJSON(needs.detect.outputs.services) }}) (push) Failing after 3m33s

This commit is contained in:
2026-08-26 11:04:23 +03:00
parent 4bd1512994
commit c231be0094
1424 changed files with 1076244 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
package dbr
import "strings"
// Buffer collects strings, and values that are ready to be interpolated.
// This is used internally to efficiently build SQL statement.
type Buffer interface {
WriteString(string) (int, error)
String() string
WriteValue(v ...interface{}) (err error)
Value() []interface{}
}
type buffer struct {
strings.Builder
v []interface{}
}
// NewBuffer creates a new Buffer.
func NewBuffer() Buffer {
return &buffer{}
}
func (b *buffer) WriteValue(v ...interface{}) error {
b.v = append(b.v, v...)
return nil
}
func (b *buffer) Value() []interface{} {
return b.v
}