Wideband autonomous SDR analysis engine forked from sdr-visual-suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 line
154B

  1. package config
  2. func BoolValue(v *bool, fallback bool) bool {
  3. if v == nil {
  4. return fallback
  5. }
  6. return *v
  7. }
  8. func boolPtr(v bool) *bool {
  9. return &v
  10. }