This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const fcp = String.fromCodePoint; | |
const L = "length"; | |
/** | |
* @param {Uint8Array} input | |
* @returns {Uint8Array} | |
*/ | |
function compress(input) { | |
const codewords = []; | |
const dictionary = new Map(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Testrun with: | |
// go build *.go && docker run --rm -v "$PWD":/var/task lambci/lambda:go1.x main '{"prefix":"23727483927892"}' | |
// Deploy by: | |
// zip main.zip main | |
// upload main.zip to https://console.aws.amazon.com/lambda/home | |
package main | |
import ( | |
"context" |
OlderNewer