https://play.golang.org/p/EmDhbkLSvD
Add back var myFuncMap.
https://play.golang.org/p/EmDhbkLSvD
Add back var myFuncMap.
Note,
The following was first published by Sindre Sorhus in Jan 13 2021 at https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77 but have since disappeard from the Internet. Thus republishing it below --
JavaScript Modules will soon be a reality for Node.js package maintainers.
sudo apt install equivs
equivs-build <package_name>
/** | |
* Wechaty - WeChat Bot SDK for Personal Account, Powered by TypeScript, Docker, and 💖 | |
* - https://github.com/chatie/wechaty | |
*/ | |
const { | |
Wechaty, | |
ScanStatus, | |
log, | |
} = require('wechaty') |
# Name. (required) | |
name: foo | |
# Architecture. (required) | |
# This will expand any env var you set in the field, eg version: ${GOARCH} | |
# The architecture is specified using Go nomenclature (GOARCH) and translated | |
# to the platform specific equivalent. In order to manually set the architecture | |
# to a platform specific value, use deb_arch, rpm_arch and apk_arch. | |
arch: amd64 |
#!/bin/sh | |
set -e | |
# Code generated by godownloader on 2019-12-25T12:47:14Z. DO NOT EDIT. | |
# | |
usage() { | |
this=$1 | |
cat <<EOF | |
$this: download go binaries for goreleaser/nfpm |
x |
test.mdtest2