Documentation
¶
Overview ¶
ABOUTME: Calculates checksum of migration files for cache invalidation ABOUTME: Uses SHA256 hash of all .go files in migration directory
ABOUTME: Dynamic migration runner that compiles and executes user migrations ABOUTME: Generates temporary Go program in project dir, compiles it, and runs migration commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateChecksum ¶
CalculateChecksum calculates a SHA256 checksum of all .go files in the directory. Returns empty string if directory doesn't exist or has no .go files.
func CalculatePathHash ¶
CalculatePathHash calculates a short hash of the project path for unique identification.
Types ¶
Click to show internal directories.
Click to hide internal directories.