Generates structs as well as a few important methods for interacting with the chrome devtools protocol. Uses the latest protocol definitions.
Originally from https://github.com/mafredri/cdp but I have revised it to match my own needs. Thanks mafredri!
cd cmd/cdpgen/
go build
./run.sh
go get -u github.com/4ydx/cdp
cd cmd/cdpgen/
$ ./update.sh