Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

roboslone/go-framework

Open more actions menu

Repository files navigation

go-framework

A way to structure your application modules.

Screenshot 2025-09-26 at 10 14 57

Command line tool

There's a command line tool for running simple command modules (framework.CommandModule).

Install:

go install github.com/roboslone/go-framework/cmd/fexec@latest

Or use as devcontainers feature:

{
	"features": {
		"ghcr.io/roboslone/go-framework/fexec:1": {}
	}
}

Example config: .fexec.yaml

Run:

fexec --help

# Usage of fexec:
#   -c string
#         Path to config file (default ".fexec.yaml")
# 
# Available modules:
#         ci
#                 depends on lint, test
#         install
#                 $ go get
#         lint
#                 $ golangci-lint run --no-config .
#                 depends on install
#         test
#                 $ go test ./...
#                 depends on install
#         pre-commit
#                 depends on lint, test

Module interfaces

Available interfaces can be found in module.go:

Dependent
Preparable[State any]
Startable[State any]
Awaitable[State any]
Cleanable[State any]

About

Application module management for Go

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.