Files
gonum/graph/formats/rdf/nodebug.go
Dan Kortschak 782095d131 graph/formats/rdf: implement canonicalisation hashing
Test cases test001-in.nq to test062-in.nq are from [1] licensed under the
W3C BSD 3-clause license. Test cases hogan*.nq are from the original paper
used with permission.

[1]https://json-ld.github.io/normalization/tests/index.html
2021-05-05 14:52:27 +09:30

17 lines
558 B
Go

// Copyright ©2020 The Gonum Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !debug
package rdf
type debugger bool
const debug debugger = false
func (d debugger) log(depth int, args ...interface{}) {}
func (d debugger) logf(depth int, format string, args ...interface{}) {}
func (d debugger) logHashes(depth int, hashes map[string][]byte, size int) {}
func (d debugger) logParts(depth int, parts byLengthHash) {}