mirror of
https://github.com/cheat/cheat.git
synced 2024-11-27 00:11:36 +01:00
80c91cbdee
Integrate `go-git` into the application, and use it to `git clone` cheatsheets when the installer runs. Previously, the installer required that `git` be installed on the system `PATH`, so this change has to big advantages: 1. It removes that system dependency on `git` 2. It paves the way for implementing the `--update` command Additionally, `cheat` now performs a `--depth=1` clone when installing cheatsheets, which should at least somewhat improve installation times (especially on slow network connections).
30 lines
598 B
Go
30 lines
598 B
Go
package sha3
|
||
|
||
// RC stores the round constants for use in the ι step.
|
||
var RC = [24]uint64{
|
||
0x0000000000000001,
|
||
0x0000000000008082,
|
||
0x800000000000808A,
|
||
0x8000000080008000,
|
||
0x000000000000808B,
|
||
0x0000000080000001,
|
||
0x8000000080008081,
|
||
0x8000000000008009,
|
||
0x000000000000008A,
|
||
0x0000000000000088,
|
||
0x0000000080008009,
|
||
0x000000008000000A,
|
||
0x000000008000808B,
|
||
0x800000000000008B,
|
||
0x8000000000008089,
|
||
0x8000000000008003,
|
||
0x8000000000008002,
|
||
0x8000000000000080,
|
||
0x000000000000800A,
|
||
0x800000008000000A,
|
||
0x8000000080008081,
|
||
0x8000000000008080,
|
||
0x0000000080000001,
|
||
0x8000000080008008,
|
||
}
|