diff --git a/graph/path/control_flow_bench_test.go b/graph/flow/control_flow_bench_test.go similarity index 99% rename from graph/path/control_flow_bench_test.go rename to graph/flow/control_flow_bench_test.go index 72e16dc0..ae0841dc 100644 --- a/graph/path/control_flow_bench_test.go +++ b/graph/flow/control_flow_bench_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package path +package flow import ( "flag" diff --git a/graph/path/control_flow_lt.go b/graph/flow/control_flow_lt.go similarity index 99% rename from graph/path/control_flow_lt.go rename to graph/flow/control_flow_lt.go index 3c42e0c6..cb7ab1f1 100644 --- a/graph/path/control_flow_lt.go +++ b/graph/flow/control_flow_lt.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package path +package flow import "gonum.org/v1/gonum/graph" diff --git a/graph/path/control_flow_slt.go b/graph/flow/control_flow_slt.go similarity index 99% rename from graph/path/control_flow_slt.go rename to graph/flow/control_flow_slt.go index 1cb0e2f0..b05a58ec 100644 --- a/graph/path/control_flow_slt.go +++ b/graph/flow/control_flow_slt.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package path +package flow import "gonum.org/v1/gonum/graph" diff --git a/graph/path/control_flow_test.go b/graph/flow/control_flow_test.go similarity index 99% rename from graph/path/control_flow_test.go rename to graph/flow/control_flow_test.go index 531c2118..a3685ace 100644 --- a/graph/path/control_flow_test.go +++ b/graph/flow/control_flow_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package path +package flow import ( "reflect" diff --git a/graph/flow/doc.go b/graph/flow/doc.go new file mode 100644 index 00000000..2bef0df7 --- /dev/null +++ b/graph/flow/doc.go @@ -0,0 +1,6 @@ +// Copyright ©2019 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. + +// Package flow provides control flow analysis functions. +package flow // import "gonum.org/v1/gonum/graph/flow"