revert fix(agentic): harden TODO workspace write Co-Authored-By: Virgil <virgil@lethean.io>
19 lines
350 B
Go
19 lines
350 B
Go
// SPDX-License-Identifier: EUPL-1.2
|
|
|
|
package brain
|
|
|
|
import (
|
|
core "dappco.re/go/core"
|
|
)
|
|
|
|
func ExampleNew() {
|
|
sub := New(nil)
|
|
core.Println(sub.Name())
|
|
// Output: brain
|
|
}
|
|
|
|
func ExampleRegister_services() {
|
|
c := core.New(core.WithService(Register))
|
|
core.Println(c.Services())
|
|
// Output is non-deterministic (slice order), so no Output comment
|
|
}
|