loctools / go-l10n Goto Github PK
View Code? Open in Web Editor NEWLightweight yet powerful continuous localization solution for Go, based on Serge and Plurr.
License: MIT License
Lightweight yet powerful continuous localization solution for Go, based on Serge and Plurr.
License: MIT License
Its looking for the templates and panicing out.
"open templates/hello.html: no such file or directory"
make ln-web-run
cd /Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web && go build -o /Users/apple/workspace/go/src/bitbucket.org/gedw99/centri/client/i18n/bin/web *.go
/Users/apple/workspace/go/src/bitbucket.org/gedw99/centri/client/i18n/bin/web
2019/04/22 19:34:18 http: panic serving [::1]:49586: open templates/hello.html: no such file or directory
goroutine 34 [running]:
net/http.(*conn).serve.func1(0xc000128000)
/usr/local/opt/go/libexec/src/net/http/server.go:1769 +0x139
panic(0x1398040, 0xc00011fec0)
/usr/local/opt/go/libexec/src/runtime/panic.go:522 +0x1b5
main.indexPage(0x1483140, 0xc00015c000, 0xc00014e000)
/Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web/main.go:22 +0x411
net/http.HandlerFunc.ServeHTTP(0x1417500, 0x1483140, 0xc00015c000, 0xc00014e000)
/usr/local/opt/go/libexec/src/net/http/server.go:1995 +0x44
net/http.(*ServeMux).ServeHTTP(0x172a880, 0x1483140, 0xc00015c000, 0xc00014e000)
/usr/local/opt/go/libexec/src/net/http/server.go:2375 +0x1d6
net/http.serverHandler.ServeHTTP(0xc0000ac8f0, 0x1483140, 0xc00015c000, 0xc00014e000)
/usr/local/opt/go/libexec/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc000128000, 0x14838c0, 0xc00011c100)
/usr/local/opt/go/libexec/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/opt/go/libexec/src/net/http/server.go:2884 +0x2f4
2019/04/22 19:34:18 http: panic serving [::1]:49587: open templates/hello.html: no such file or directory
goroutine 19 [running]:
net/http.(*conn).serve.func1(0xc000092fa0)
/usr/local/opt/go/libexec/src/net/http/server.go:1769 +0x139
panic(0x1398040, 0xc000077da0)
/usr/local/opt/go/libexec/src/runtime/panic.go:522 +0x1b5
main.indexPage(0x1483140, 0xc000194000, 0xc000112100)
/Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web/main.go:22 +0x411
net/http.HandlerFunc.ServeHTTP(0x1417500, 0x1483140, 0xc000194000, 0xc000112100)
/usr/local/opt/go/libexec/src/net/http/server.go:1995 +0x44
net/http.(*ServeMux).ServeHTTP(0x172a880, 0x1483140, 0xc000194000, 0xc000112100)
/usr/local/opt/go/libexec/src/net/http/server.go:2375 +0x1d6
net/http.serverHandler.ServeHTTP(0xc0000ac8f0, 0x1483140, 0xc000194000, 0xc000112100)
/usr/local/opt/go/libexec/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc000092fa0, 0x14838c0, 0xc00008a3c0)
/usr/local/opt/go/libexec/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/opt/go/libexec/src/net/http/server.go:2884 +0x2f4
2019/04/22 19:34:18 http: panic serving [::1]:49588: open templates/hello.html: no such file or directory
goroutine 36 [running]:
net/http.(*conn).serve.func1(0xc0001280a0)
/usr/local/opt/go/libexec/src/net/http/server.go:1769 +0x139
panic(0x1398040, 0xc000077dd0)
/usr/local/opt/go/libexec/src/runtime/panic.go:522 +0x1b5
main.indexPage(0x1483140, 0xc0001dc000, 0xc0001cc000)
/Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web/main.go:22 +0x411
net/http.HandlerFunc.ServeHTTP(0x1417500, 0x1483140, 0xc0001dc000, 0xc0001cc000)
/usr/local/opt/go/libexec/src/net/http/server.go:1995 +0x44
net/http.(*ServeMux).ServeHTTP(0x172a880, 0x1483140, 0xc0001dc000, 0xc0001cc000)
/usr/local/opt/go/libexec/src/net/http/server.go:2375 +0x1d6
net/http.serverHandler.ServeHTTP(0xc0000ac8f0, 0x1483140, 0xc0001dc000, 0xc0001cc000)
/usr/local/opt/go/libexec/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc0001280a0, 0x14838c0, 0xc0001c6040)
/usr/local/opt/go/libexec/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/opt/go/libexec/src/net/http/server.go:2884 +0x2f4
2019/04/22 19:34:21 http: panic serving [::1]:49606: open templates/hello.html: no such file or directory
goroutine 5 [running]:
net/http.(*conn).serve.func1(0xc000204000)
/usr/local/opt/go/libexec/src/net/http/server.go:1769 +0x139
panic(0x1398040, 0xc000216de0)
/usr/local/opt/go/libexec/src/runtime/panic.go:522 +0x1b5
main.indexPage(0x1483140, 0xc000210000, 0xc000112200)
/Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web/main.go:22 +0x411
net/http.HandlerFunc.ServeHTTP(0x1417500, 0x1483140, 0xc000210000, 0xc000112200)
/usr/local/opt/go/libexec/src/net/http/server.go:1995 +0x44
net/http.(*ServeMux).ServeHTTP(0x172a880, 0x1483140, 0xc000210000, 0xc000112200)
/usr/local/opt/go/libexec/src/net/http/server.go:2375 +0x1d6
net/http.serverHandler.ServeHTTP(0xc0000ac8f0, 0x1483140, 0xc000210000, 0xc000112200)
/usr/local/opt/go/libexec/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc000204000, 0x14838c0, 0xc00008a580)
/usr/local/opt/go/libexec/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/opt/go/libexec/src/net/http/server.go:2884 +0x2f4
2019/04/22 19:34:21 http: panic serving [::1]:49607: open templates/hello.html: no such file or directory
goroutine 20 [running]:
net/http.(*conn).serve.func1(0xc000093040)
/usr/local/opt/go/libexec/src/net/http/server.go:1769 +0x139
panic(0x1398040, 0xc0001c5d70)
/usr/local/opt/go/libexec/src/runtime/panic.go:522 +0x1b5
main.indexPage(0x1483140, 0xc0002100e0, 0xc0001cc100)
/Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web/main.go:22 +0x411
net/http.HandlerFunc.ServeHTTP(0x1417500, 0x1483140, 0xc0002100e0, 0xc0001cc100)
/usr/local/opt/go/libexec/src/net/http/server.go:1995 +0x44
net/http.(*ServeMux).ServeHTTP(0x172a880, 0x1483140, 0xc0002100e0, 0xc0001cc100)
/usr/local/opt/go/libexec/src/net/http/server.go:2375 +0x1d6
net/http.serverHandler.ServeHTTP(0xc0000ac8f0, 0x1483140, 0xc0002100e0, 0xc0001cc100)
/usr/local/opt/go/libexec/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc000093040, 0x14838c0, 0xc0001c6200)
/usr/local/opt/go/libexec/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/opt/go/libexec/src/net/http/server.go:2884 +0x2f4
2019/04/22 19:34:21 http: panic serving [::1]:49608: open templates/hello.html: no such file or directory
goroutine 6 [running]:
net/http.(*conn).serve.func1(0xc0002040a0)
/usr/local/opt/go/libexec/src/net/http/server.go:1769 +0x139
panic(0x1398040, 0xc0002466f0)
/usr/local/opt/go/libexec/src/runtime/panic.go:522 +0x1b5
main.indexPage(0x1483140, 0xc0002101c0, 0xc000112300)
/Users/apple/workspace/go/src/github.com/iafan/go-l10n/examples/web/main.go:22 +0x411
net/http.HandlerFunc.ServeHTTP(0x1417500, 0x1483140, 0xc0002101c0, 0xc000112300)
/usr/local/opt/go/libexec/src/net/http/server.go:1995 +0x44
net/http.(*ServeMux).ServeHTTP(0x172a880, 0x1483140, 0xc0002101c0, 0xc000112300)
/usr/local/opt/go/libexec/src/net/http/server.go:2375 +0x1d6
net/http.serverHandler.ServeHTTP(0xc0000ac8f0, 0x1483140, 0xc0002101c0, 0xc000112300)
/usr/local/opt/go/libexec/src/net/http/server.go:2774 +0xa8
net/http.(*conn).serve(0xc0002040a0, 0x14838c0, 0xc00008a8c0)
/usr/local/opt/go/libexec/src/net/http/server.go:1878 +0x851
created by net/http.(*Server).Serve
/usr/local/opt/go/libexec/src/net/http/server.go:2884 +0x2f4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.