Skip to content
anypac file
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controller
preview
templates
utils
win Add winsw for windows Sep 14, 2019
.gitignore
go.mod
main.go
readme.md

readme.md

any pac

This project can generate http server, to serve a pac.js

edit preview

it default listen on :8085

to create new pac , just visit

http://localhost:8085/edit/+id, (like http://localhost:8085/edit/mypac)

You will see the pac edit form, edit and save it , you will see the pac file in

http://localhost:8085/pac/mypac

you can add as many as you want

just change the /edit/+id

prepare

you need install qtc first

go get -u github.com/valyala/quicktemplate/qtc

run

for windows

go generate | go run -v .

for linux/mac

go generate && go run -v .
You can’t perform that action at this time.