initial commit
This commit is contained in:
7
distant/brain/brain.go
Normal file
7
distant/brain/brain.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package brain
|
||||
|
||||
type Interface interface {
|
||||
Think(prefix []string) (string, error)
|
||||
}
|
||||
|
||||
func Think(s Interface, prompt string) (string, error) { panic("TODO") }
|
||||
3
distant/brain/sqlbrain/brain.go
Normal file
3
distant/brain/sqlbrain/brain.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package sqlbrain
|
||||
|
||||
type Brain struct{} // SQL db
|
||||
6
distant/brain/types.go
Normal file
6
distant/brain/types.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package brain
|
||||
|
||||
type (
|
||||
Message struct{}
|
||||
Tuple struct{}
|
||||
)
|
||||
3
distant/go.mod
Normal file
3
distant/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module git.sunturtle.xyz/zephyr/errors-my-beloved/distant
|
||||
|
||||
go 1.24.2
|
||||
0
distant/go.sum
Normal file
0
distant/go.sum
Normal file
10
distant/main.go
Normal file
10
distant/main.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"git.sunturtle.xyz/zephyr/errors-my-beloved/distant/brain"
|
||||
"git.sunturtle.xyz/zephyr/errors-my-beloved/distant/brain/sqlbrain"
|
||||
)
|
||||
|
||||
func main() {
|
||||
brain.Think(new(sqlbrain.Brain), "")
|
||||
}
|
||||
Reference in New Issue
Block a user