Donovan Jimenez
a84994e6e9
Rework Reader and Writer
* add tests that cover same behaviors as Convert and ConvertString
* align read and write behaviors with bufio to play nice
* add methods that allow to customize buffer size
* add methods to reset, allowing reuse
пре 7 година
Donovan Jimenez
8960e66bd3
Merge pull request #24 from kowalczykp/master
Fix Panic in Go 1.6
пре 8 година
pkowalczyk
072063d01b
Fixes #23 using call_iconv wrapper
пре 8 година
Donovan Jimenez
5f6a5a4f00
Updated README.md with note about cgo requirement
пре 10 година
Donovan Jimenez
454e39a98f
Issue #8 : change iconv import to reflect typical github import path
пре 10 година
Donovan Jimenez
c6169bab90
running gofmt on sources, and removing iconv LDFLAG on linux
пре 11 година
Donovan Jimenez
76220410e9
issue #6 : adding LICENSE file with 2-clause BSD text
пре 11 година
Donovan Jimenez
434bc339c7
Merge pull request #2 from haonan3344/patch-1
In windows cannot "go get ...",for "undefined reference to libiconv"
пре 12 година
haonan3344
9972d7fa01
In windows cannot "go get ...",for "undefined reference to libiconv"
please patch it so as to support more os
пре 12 година
Donovan Jimenez
9f790a3b51
Issue #1 - Corrected README installation instructions
пре 12 година
Donovan Jimenez
4266152eb8
Update readme for project name change, go get doesn't like .go at the end of the github project name
пре 12 година
Donovan Jimenez
d8ca80955a
go1 updates: standard errors now in syscall package, no more makefile support
пре 12 година
Donovan Jimenez
8c9fe240c5
Adding basic iconv unit tests and an untested (yet) writer implementation
пре 13 година
Donovan Jimenez
5ea739d3eb
Improving documentation and including shift reset logic
пре 13 година
Donovan Jimenez
20aa6d93c3
Make sure we free our data made by C.CString. Also, updated cgo comments to multiline - seems to be preferred style
пре 13 година
Donovan Jimenez
690531c87e
* Added README.md
* moved sample programs to examples directory
* cleaned up make make file
* converter.go: ConvertString now uses Convert under the hood, removes some code duplication
* reader.go: No need to have two separate buffers, can write directly in to buffer given in Read call. Simplifies code greatly
пре 13 година
Donovan Jimenez
82db0fae9a
Initial iconv go package, supports:
* string conversion
* byte slice conversion
* Reader conversion
пре 13 година