package
0.0.0-20190805231625-a20b76dc0815
Repository: https://github.com/gregable/amppackager.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Local Transformer
The modifications in this package are described in more detail here.
NOTE: The transformed AMP HTML produced by the library is only valid inside of a signed exchange, and not to be served as normal HTML. Also, the library is still a work-in-progress and not all transformations described in the link above are implemented.
How to use
The local transformer can be used separately from the packager/signer. Here's an example use of the binary:
go get -u github.com/ampproject/amppackager/cmd/transform
$GOPATH/bin/transform -url "documentURL" /path/to/html
For more help, $GOPATH/bin/transform -h
See the binary source code for an example use of the library.