hints_disabled.go 427 B

1234567891011121314
  1. //go:build !hints
  2. // +build !hints
  3. package internal
  4. // HintsEnabled is false to indicate that hints are not currently switched on.
  5. // To enable please rebuild with "-tags hints" parameters.
  6. const HintsEnabled = false
  7. // LogHint reports a developer hint that should be followed to improve their app.
  8. // This does nothing unless the "hints" build flag is used.
  9. func LogHint(reason string) {
  10. // no-op when hints not enabled
  11. }