GithubHelp home page GithubHelp logo

uber-go / icu4go Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 5.0 28 KB

A Go binding for the icu4c library

License: MIT License

Makefile 2.59% Go 38.77% C 31.10% Shell 0.12% Python 27.42%
go golang icu4c icu4c-library

icu4go's People

Contributors

sureshpr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

icu4go's Issues

Installation error (go get)

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?

icu4c-64.2 test error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.