Skip to content

Conversation

@antimon2
Copy link
Owner

Enable to write as below:

julia> transcode(HashidsEncoder(), 123)
"Mj3"

julia> transcode(HashidsDecoder(), "xoz")
1-element Array{Int64,1}:
 456

julia> hashid = transcode(HashidsHexEncoder(), "507f1f77bcf86cd799439011")
"y42LW46J9luq3Xq9XMly"

julia> hex = transcode(HashidsHexDecoder(), hashid)
"507f1f77bcf86cd799439011"

@codecov
Copy link

codecov bot commented Nov 17, 2019

Codecov Report

Merging #1 into master will increase coverage by 0.4%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master       #1     +/-   ##
=========================================
+ Coverage   97.36%   97.77%   +0.4%     
=========================================
  Files           1        2      +1     
  Lines         114      135     +21     
=========================================
+ Hits          111      132     +21     
  Misses          3        3
Impacted Files Coverage Δ
src/Hashids.jl 97.39% <ø> (+0.02%) ⬆️
src/Transcoders.jl 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a0659f...0f4c6a6. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants