Build concurrent, intelligent configurations for Go applications. Leverage goroutines, channels, and Go's performance directly from your config files.
Replace static YAML configs with concurrent, intelligent configuration files that leverage Go's strengths.
Query APIs, execute Go code, and leverage goroutines directly from configuration files using powerful @ operators.
Native GORM and database/sql support. Query your database directly from config files with full Go integration.
Built for Go's concurrency model. Utilize goroutines and channels for configuration loading and real-time updates.
Drop-in integration for Gin, Echo, Fiber, and other Go frameworks. Middleware and handlers included.
Zero-allocation design and compile-time optimization. Built for high-performance Go applications and microservices.
Built-in testing package support with test helpers and mocking utilities for testing configurations and @ operators.
Traditional YAML configs are static files. TuskLang configs are concurrent, intelligent Go-integrated configurations.
# Smart Go Configuration
app_name: "MyGoApp"
port: @env("PORT", 8080)
# Database with connection pooling
database {
dsn: @env("DATABASE_URL")
max_connections: @query("SELECT COUNT(*) FROM connections") * 2
idle_timeout: @optimize("db_idle_timeout", "5m")
}
# Goroutine configuration
runtime {
max_goroutines: @learn("optimal_goroutines", 1000)
gc_percent: @env("GOGC", 100)
max_procs: @cache("10m", @query("SELECT cpu_count FROM system_info"))
}
# Feature flags with A/B testing
features: @query("SELECT name FROM features WHERE active = true")
Works seamlessly with your favorite Go frameworks and libraries
HTTP web framework
High performance framework
Express inspired framework
ORM library
MVC framework
Rapid web development
Install TuskLang for Go and start building concurrent, intelligent configurations