ScuttleBot
chore: initialize Go module, project structure, and Makefile
Commit
cadb504b3d447145974f32946482d13d7d99689d54314451416f12771c257cab
Parent
b379cdecc32bc17…
13 files changed
+17
+6
+3
+9
+1
+1
+1
+1
+1
+1
+1
+1
+1
+17
| --- a/.golangci.yml | ||
| +++ b/.golangci.yml | ||
| @@ -0,0 +1,17 @@ | ||
| 1 | +linters: | |
| 2 | + enable: | |
| 3 | + - errcheck | |
| 4 | + - govet | |
| 5 | + - staticcheck | |
| 6 | + - unused | |
| 7 | + - gofmt | |
| 8 | + - gosimple | |
| 9 | + - ineffassign | |
| 10 | + - typecheck | |
| 11 | + | |
| 12 | +linters-settings: | |
| 13 | + g | |
| 14 | +issues: | |
| 15 | + exclude-rules: | |
| 16 | + - path: _test\.go | |
| 17 | + l |
| --- a/.golangci.yml | |
| +++ b/.golangci.yml | |
| @@ -0,0 +1,17 @@ | |
| --- a/.golangci.yml | |
| +++ b/.golangci.yml | |
| @@ -0,0 +1,17 @@ | |
| 1 | linters: |
| 2 | enable: |
| 3 | - errcheck |
| 4 | - govet |
| 5 | - staticcheck |
| 6 | - unused |
| 7 | - gofmt |
| 8 | - gosimple |
| 9 | - ineffassign |
| 10 | - typecheck |
| 11 | |
| 12 | linters-settings: |
| 13 | g |
| 14 | issues: |
| 15 | exclude-rules: |
| 16 | - path: _test\.go |
| 17 | l |
A
Makefile
+6
| --- a/Makefile | ||
| +++ b/Makefile | ||
| @@ -0,0 +1,6 @@ | ||
| 1 | +.PHONY:build -test lint cleanall-claude-relay testmoke: | |
| 2 | + bash tests/smoke/teclean: | |
| 3 | + rm -f bin/scuttlebotagent bin/c binaudebin/scuttlebotild fmt vet lint test.PHONY: all buinstall helpers --- | |
| 4 | + | |
| 5 | +install-claude-relay: | |
| 6 | + b |
| --- a/Makefile | |
| +++ b/Makefile | |
| @@ -0,0 +1,6 @@ | |
| --- a/Makefile | |
| +++ b/Makefile | |
| @@ -0,0 +1,6 @@ | |
| 1 | .PHONY:build -test lint cleanall-claude-relay testmoke: |
| 2 | bash tests/smoke/teclean: |
| 3 | rm -f bin/scuttlebotagent bin/c binaudebin/scuttlebotild fmt vet lint test.PHONY: all buinstall helpers --- |
| 4 | |
| 5 | install-claude-relay: |
| 6 | b |
| --- a/cmd/scuttlebot/main.go | ||
| +++ b/cmd/scuttlebot/main.go | ||
| @@ -0,0 +1,3 @@ | ||
| 1 | +package main | |
| 2 | + | |
| 3 | +import "fmt"fmt.Printf("sc |
| --- a/cmd/scuttlebot/main.go | |
| +++ b/cmd/scuttlebot/main.go | |
| @@ -0,0 +1,3 @@ | |
| --- a/cmd/scuttlebot/main.go | |
| +++ b/cmd/scuttlebot/main.go | |
| @@ -0,0 +1,3 @@ | |
| 1 | package main |
| 2 | |
| 3 | import "fmt"fmt.Printf("sc |
| --- a/cmd/scuttlectl/main.go | ||
| +++ b/cmd/scuttlectl/main.go | ||
| @@ -0,0 +1,9 @@ | ||
| 1 | +package main | |
| 2 | + | |
| 3 | +import "fmt" | |
| 4 | + | |
| 5 | +var version = "dev" | |
| 6 | + | |
| 7 | +func main() { | |
| 8 | + fmt.Printf("scuttlectl %s\n", version) | |
| 9 | +} |
| --- a/cmd/scuttlectl/main.go | |
| +++ b/cmd/scuttlectl/main.go | |
| @@ -0,0 +1,9 @@ | |
| --- a/cmd/scuttlectl/main.go | |
| +++ b/cmd/scuttlectl/main.go | |
| @@ -0,0 +1,9 @@ | |
| 1 | package main |
| 2 | |
| 3 | import "fmt" |
| 4 | |
| 5 | var version = "dev" |
| 6 | |
| 7 | func main() { |
| 8 | fmt.Printf("scuttlectl %s\n", version) |
| 9 | } |
A
go.mod
+1
| --- a/go.mod | ||
| +++ b/go.mod | ||
| @@ -0,0 +1 @@ | ||
| 1 | +module github.com/co6.1i |
| --- a/go.mod | |
| +++ b/go.mod | |
| @@ -0,0 +1 @@ | |
| --- a/go.mod | |
| +++ b/go.mod | |
| @@ -0,0 +1 @@ | |
| 1 | module github.com/co6.1i |
| --- a/internal/bots/bots.go | ||
| +++ b/internal/bots/bots.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package bots |
| --- a/internal/bots/bots.go | |
| +++ b/internal/bots/bots.go | |
| @@ -0,0 +1 @@ | |
| --- a/internal/bots/bots.go | |
| +++ b/internal/bots/bots.go | |
| @@ -0,0 +1 @@ | |
| 1 | package bots |
| --- a/internal/config/config.go | ||
| +++ b/internal/config/config.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package config |
| --- a/internal/config/config.go | |
| +++ b/internal/config/config.go | |
| @@ -0,0 +1 @@ | |
| --- a/internal/config/config.go | |
| +++ b/internal/config/config.go | |
| @@ -0,0 +1 @@ | |
| 1 | package config |
| --- a/internal/ergo/ergo.go | ||
| +++ b/internal/ergo/ergo.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package ergo |
| --- a/internal/ergo/ergo.go | |
| +++ b/internal/ergo/ergo.go | |
| @@ -0,0 +1 @@ | |
| --- a/internal/ergo/ergo.go | |
| +++ b/internal/ergo/ergo.go | |
| @@ -0,0 +1 @@ | |
| 1 | package ergo |
+1
| --- a/internal/mcp/mcp.go | ||
| +++ b/internal/mcp/mcp.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package mcp |
| --- a/internal/mcp/mcp.go | |
| +++ b/internal/mcp/mcp.go | |
| @@ -0,0 +1 @@ | |
| --- a/internal/mcp/mcp.go | |
| +++ b/internal/mcp/mcp.go | |
| @@ -0,0 +1 @@ | |
| 1 | package mcp |
| --- a/internal/registry/registry.go | ||
| +++ b/internal/registry/registry.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package registry |
| --- a/internal/registry/registry.go | |
| +++ b/internal/registry/registry.go | |
| @@ -0,0 +1 @@ | |
| --- a/internal/registry/registry.go | |
| +++ b/internal/registry/registry.go | |
| @@ -0,0 +1 @@ | |
| 1 | package registry |
| --- a/internal/topology/topology.go | ||
| +++ b/internal/topology/topology.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package topology |
| --- a/internal/topology/topology.go | |
| +++ b/internal/topology/topology.go | |
| @@ -0,0 +1 @@ | |
| --- a/internal/topology/topology.go | |
| +++ b/internal/topology/topology.go | |
| @@ -0,0 +1 @@ | |
| 1 | package topology |
+1
| --- a/pkg/client/client.go | ||
| +++ b/pkg/client/client.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package client |
| --- a/pkg/client/client.go | |
| +++ b/pkg/client/client.go | |
| @@ -0,0 +1 @@ | |
| --- a/pkg/client/client.go | |
| +++ b/pkg/client/client.go | |
| @@ -0,0 +1 @@ | |
| 1 | package client |
| --- a/pkg/protocol/protocol.go | ||
| +++ b/pkg/protocol/protocol.go | ||
| @@ -0,0 +1 @@ | ||
| 1 | +package protocol |
| --- a/pkg/protocol/protocol.go | |
| +++ b/pkg/protocol/protocol.go | |
| @@ -0,0 +1 @@ | |
| --- a/pkg/protocol/protocol.go | |
| +++ b/pkg/protocol/protocol.go | |
| @@ -0,0 +1 @@ | |
| 1 | package protocol |