Initial commit: TaskPool React panel

- React frontend with route-level code splitting
- Backend rebranded from Baihu to TaskPool
- DB brand migration script and local compatibility
This commit is contained in:
2026-07-26 08:43:52 +08:00
commit e6956aa001
397 changed files with 73621 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package utils
// BoolPtr returns a pointer to the bool value
func BoolPtr(b bool) *bool {
return &b
}
// DerefBool returns the value of the bool pointer or default if nil
func DerefBool(b *bool, defaultVal bool) bool {
if b == nil {
return defaultVal
}
return *b
}