Skip to content

Commit cacf21f

Browse files
committed
Restructure to focus on lib rather than cli
1 parent 8df48f9 commit cacf21f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+51
-48
lines changed

core/analyzer.go renamed to analyzer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
// Package core holds the central scanning logic used by GAS
16-
package core
16+
package gas
1717

1818
import (
1919
"go/ast"

core/call_list.go renamed to call_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
package core
14+
package gas
1515

1616
import (
1717
"go/ast"

core/call_list_test.go renamed to call_list_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package core
1+
package gas
22

33
import (
44
"go/ast"
File renamed without changes.
File renamed without changes.

main.go renamed to cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"sort"
2828
"strings"
2929

30-
gas "github.com/GoASTScanner/gas/core"
30+
"github.com/GoASTScanner/gas"
3131
"github.com/GoASTScanner/gas/output"
3232
"golang.org/x/tools/go/loader"
3333
)
File renamed without changes.

rulelist.go renamed to cmd/rulelist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package main
1717
import (
1818
"go/ast"
1919

20-
gas "github.com/GoASTScanner/gas/core"
20+
"github.com/GoASTScanner/gas"
2121
"github.com/GoASTScanner/gas/rules"
2222
)
2323

tools.go renamed to cmd/tools.go

File renamed without changes.

core/helpers.go renamed to helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package core
15+
package gas
1616

1717
import (
1818
"fmt"

0 commit comments

Comments
 (0)