File: debug.go

package info (click to toggle)
golang-vbom-util 0.0~git20180919.efcd4e0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 184 kB
  • sloc: makefile: 3
file content (12 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
package rope

// debug enables debug output.
const debug = true

// MarkGoStringedRope is a flag that, when enabled, prepends "/*Rope*/ " to the
// result of Rope.GoString(). This can be useful when debugging code using
// interface{} values, where Ropes and strings can coexist.
//
// This should only ever be changed from init() functions, to ensure there are
// no data races.
var MarkGoStringedRope = true