Notes added by 'git notes append'
This commit is contained in:
parent
f0fb9681c2
commit
254ca4d434
|
@ -49,3 +49,24 @@ gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA=
|
|||
gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
||||
// `autogen:file.find.pb.go`
|
||||
|
||||
// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT.
|
||||
// This file was autogenerated with autogenpb v0.0.40-9-gf329702 2025.01.10_2318
|
||||
// go install go.wit.com/apps/autogenpb@latest
|
||||
//
|
||||
// define which structs (messages) you want to use in the .proto file
|
||||
// Then sort.pb.go and marshal.pb.go files are autogenerated
|
||||
//
|
||||
// autogenpb uses it and has an example .proto file with instructions
|
||||
//
|
||||
|
||||
package main
|
||||
|
||||
// TESTING 2
|
||||
// just a simple Append() shortcut (but still uses the mutex lock)
|
||||
func (x *Files) Append(y *File) {
|
||||
x.Lock.Lock()
|
||||
defer x.Lock.Unlock()
|
||||
|
||||
x.Files = append(x.Files, y)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue