kiruna

Kiruna is a simple, powerful library for building and bundling fullstack Go application assets, with live browser refresh and excellent dev-prod parity. It's sort of like Vite, but for Go apps.

BSD-3-CLAUSE License

Stars
25
kiruna - v0.0.36 Latest Release

Published by sjc5 4 months ago

kiruna - v0.0.31

Published by sjc5 5 months ago

Ensures all DevConfig instances of WatchedFile.Pattern and OnChange.ExcludedPattern are set relative to Config.RootDir.

kiruna - v0.0.30

Published by sjc5 5 months ago

Fixes a dev-time issue where watched file exceptions configured via DevConfig.IgnorePatterns.Dirs and DevConfig.IgnorePatterns.Files were not being set relative to Config.RootDir.

kiruna - v0.0.29

Published by sjc5 5 months ago

Summary

Adds a new onChange timing strategy: OnChangeStrategyConcurrentNoWait

Usage

kiruna.WatchedFile{
	Pattern: "**/*.go",
	OnChangeCallbacks: []kiruna.OnChange{{
		Func: func(s string) error {
			fmt.Println("Go file changed:", s)
			return nil
		},
		Strategy: kiruna.OnChangeStrategyConcurrentNoWait, // <-- New timing strategy
	}},
}
kiruna - v0.0.28

Published by sjc5 5 months ago

Package Rankings
Top 9.19% on Proxy.golang.org
Badges
Extracted from project README
Go Reference Go Report Card