Create new type and remove un-used code
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Failing after 11s

This commit is contained in:
2025-01-12 19:33:57 -06:00
parent 434d3fed1b
commit 03a47deade
740 changed files with 498069 additions and 3 deletions
+18
View File
@@ -0,0 +1,18 @@
package tml
import "sync"
var disableFormatting bool
var formattingLock sync.RWMutex
func DisableFormatting() {
formattingLock.Lock()
defer formattingLock.Unlock()
disableFormatting = true
}
func EnableFormatting() {
formattingLock.Lock()
defer formattingLock.Unlock()
disableFormatting = false
}