mirror of
https://github.com/goharbor/harbor
synced 2025-05-08 14:24:23 +00:00

Add SafeCastString, SafeCastInt, SafeCastFloat64, SafeCastBool function to check the type matched and avoid panic in runtime Add default value to configure settings to avoid cannot save configure issue