z7zmey / php-parser

PHP parser written in Go
https://php-parser.com
MIT License
941 stars 63 forks source link

Runtime exception when using "go get github.com/z7zmey/php-parser" #119

Closed prasad83 closed 3 years ago

prasad83 commented 3 years ago

I'm on (go version go1.14 linux/amd64)

go get github.com/z7zmey/php-parser

Shows

# github.com/z7zmey/php-parser
runtime.main_main·f: function main is undeclared in the main package
prasad83 commented 3 years ago

Likely issue on master (0.8 version)

z7zmey commented 3 years ago

Hi @prasad83. I have updated the project layout. You can use go get github.com/z7zmey/php-parser/cmd/php-parser to get the CLI tool.

Readme was updated at #124