Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete parser
Browse files Browse the repository at this point in the history
This way the xml parser is independent of other parsers
awalterschulze committed Jan 13, 2025
1 parent 7b6ed71 commit b5798d6
Showing 27 changed files with 15 additions and 1,897 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -9,36 +9,36 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
path: gopath/github.com/katydid/parser-go
path: gopath/github.com/katydid/parser-go-xml
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Fetch dependencies
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-xml
go mod download -x
- name: Install tools
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-xml
go install -x github.com/awalterschulze/checklicense
- name: env
run: env && go env && pwd
- name: tree
run: tree
- name: Build
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-xml
make build
- name: Test
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-xml
make test
- name: Checklicencse
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-xml
make checklicense
- name: Diff
run: |
cd gopath/github.com/katydid/parser-go
cd gopath/github.com/katydid/parser-go-xml
make diff
2 changes: 1 addition & 1 deletion COPIED_FROM_GO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Parts of the code in parser/xml and parser/json have been copied from the go standard library
Parts of the code in the xml folder have been copied from the go standard library

Copyright (c) 2012 The Go Authors. All rights reserved.

6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## parser-go
## parser-go-xml

Parser interface for Go.

This includes tools for developing implementations of the parser interface, for example the `debug` package.
Parser for XML in Go

4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/katydid/parser-go
module github.com/katydid/parser-go-xml

go 1.23

require github.com/katydid/parser-go v0.5.0

require github.com/awalterschulze/checklicense v1.0.0
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/awalterschulze/checklicense v1.0.0 h1:SiRilt26Q+2M238VbXw+e5826mxPypvsj/xgglHDHW8=
github.com/awalterschulze/checklicense v1.0.0/go.mod h1:oUHvoD4crryzAwDwtdQqCnaZRznAvZE64edH9ukb1K4=
github.com/katydid/parser-go v0.5.0 h1:47Q2bnGzEwRTdb1q8IjC3t7FGtxHd/LDF9q7ASuk7as=
github.com/katydid/parser-go v0.5.0/go.mod h1:1BwRfDlyRgDlAaURZ4FXi7IzHqWKTsrCdsstLsFeQho=
2 changes: 0 additions & 2 deletions parser/debug/doc.go

This file was deleted.

70 changes: 0 additions & 70 deletions parser/debug/example.go

This file was deleted.

154 changes: 0 additions & 154 deletions parser/debug/log.go

This file was deleted.

36 changes: 0 additions & 36 deletions parser/debug/node.go

This file was deleted.

25 changes: 0 additions & 25 deletions parser/debug/type.go

This file was deleted.

129 changes: 0 additions & 129 deletions parser/debug/value.go

This file was deleted.

178 changes: 0 additions & 178 deletions parser/debug/walk.go

This file was deleted.

37 changes: 0 additions & 37 deletions parser/errors.go

This file was deleted.

627 changes: 0 additions & 627 deletions parser/json/json.go

This file was deleted.

163 changes: 0 additions & 163 deletions parser/json/json_test.go

This file was deleted.

149 changes: 0 additions & 149 deletions parser/json/unquote.go

This file was deleted.

74 changes: 0 additions & 74 deletions parser/parser.go

This file was deleted.

199 changes: 0 additions & 199 deletions parser/reflect/reflect.go

This file was deleted.

41 changes: 0 additions & 41 deletions parser/reflect/reflect_test.go

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b5798d6

Please sign in to comment.