uber-go / icu4go Goto Github PK
View Code? Open in Web Editor NEWA Go binding for the icu4c library
License: MIT License
A Go binding for the icu4c library
License: MIT License
I try to install your library
go get github.com/uber-go/icu4go/datetime
I was given such error
# github.com/uber-go/icu4go/datetime
/tmp/go-build122150659/github.com/uber-go/icu4go/datetime/_obj/bridge.o: In function `formatDateTime':
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:39: undefined reference to `u_uastrcpy_55'
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:42: undefined reference to `u_uastrcpy_55'
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:44: undefined reference to `udat_open_55'
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:63: undefined reference to `udat_format_55'
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:75: undefined reference to `u_austrcpy_55'
/tmp/go-build122150659/github.com/uber-go/icu4go/datetime/_obj/bridge.o: In function `getDateTimePattern':
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:88: undefined reference to `udat_open_55'
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:102: undefined reference to `udat_toPattern_55'
Projects/go/src/github.com/uber-go/icu4go/datetime/bridge.c:113: undefined reference to `u_austrcpy_55'
collect2: error: ld returned 1 exit status
My operation system is Ubuntu
Ubuntu 16.04.3 LTS
libicu-dev installed. Tell me, how to install your package?
when i use icu4c 64.2
? github.com/uber-go/icu4go/constants [no test files]
--- FAIL: TestCurrencyFormatter_Format (0.00s)
Error Trace: currency_formatter_test.go:34
Error: Not equal:
expected: "1\u00a0222\u00a0333,44\u00a0$US"
received: "1\u202f222\u202f333,44\u00a0$US"
FAIL
coverage: 92.3% of statements
FAIL github.com/uber-go/icu4go/currency 0.016s
--- FAIL: TestDateTimeFormatter_FormatTime (0.01s)
Error Trace: datetime_formatter_test.go:40
Error: Not equal:
expected: "Montag, 2. Januar 2017 um 12:35:20 GMT"
received: "Montag, 2. Januar 2017 um 12:35:20 Koordinierte Weltzeit"
Error Trace: datetime_formatter_test.go:48
Error: Not equal:
expected: "2. Januar 2017 um 12:35:20 GMT"
received: "2. Januar 2017 um 12:35:20 UTC"
FAIL
coverage: 90.2% of statements
FAIL github.com/uber-go/icu4go/datetime 0.014s
ok github.com/uber-go/icu4go/locale 0.009s coverage: 94.4% of statements
ok github.com/uber-go/icu4go/number 0.008s coverage: 93.8% of statements
make: *** [test] ้่ฏฏ 1
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.