diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-26 09:05:15 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-26 09:05:15 +0800 |
| commit | 2f572636121a78c51b7188b7bd09965cb91c9dde (patch) | |
| tree | ac6377cfeb157fd9c45f0e29277cc0f37731f33e | |
chore: set up essential archetecture
| -rw-r--r-- | api.go | 18 | ||||
| -rw-r--r-- | context.go | 1 | ||||
| -rw-r--r-- | go.mod | 3 | ||||
| -rw-r--r-- | main.go | 5 | ||||
| -rw-r--r-- | router.go | 1 |
5 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,18 @@ +package growel + +import ( + +) + +type growel struct { } + +func (growel) New() (*growel) { + return &growel{} +} + +func (*growel) GET() {} +func (*growel) POST() {} +func (*growel) PUT() {} +func (*growel) DELETE() {} + +func (*growel) Start() {} diff --git a/context.go b/context.go new file mode 100644 index 0000000..aa10769 --- /dev/null +++ b/context.go @@ -0,0 +1 @@ +package growel @@ -0,0 +1,3 @@ +module github.com/bigcoke233/growel/v2 + +go 1.25.4 @@ -0,0 +1,5 @@ +package growel + +func main() { + +} diff --git a/router.go b/router.go new file mode 100644 index 0000000..aa10769 --- /dev/null +++ b/router.go @@ -0,0 +1 @@ +package growel |
