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
package main | |
/* | |
#cgo LDFLAGS: -ldl | |
#include <dlfcn.h> | |
#include <stdlib.h> | |
typedef void (*initializeFunc)(); | |
typedef void (*handleMessageFunc)(const char* message, char** response); |
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
package main | |
import ( | |
"bytes" | |
"context" | |
"encoding/json" | |
"flag" | |
"fmt" | |
client2 "github.com/configwizard/gaspump-api/pkg/client" | |
container2 "github.com/configwizard/gaspump-api/pkg/container" |
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
"glossary": { | |
"title": "example glossary", | |
"GlossDiv": { | |
"title": "S", | |
"GlossList": { | |
"GlossEntry": { | |
"ID": "SGML", | |
"SortAs": "SGML", | |
"GlossTerm": "Standard Generalized Markup Language", | |
"Acronym": "SGML", |
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
package encryption | |
import ( | |
"bytes" | |
"crypto" | |
"fmt" | |
"github.com/alokmenghrajani/gpgeez" | |
"golang.org/x/crypto/openpgp" | |
"golang.org/x/crypto/openpgp/armor" | |
"golang.org/x/crypto/openpgp/packet" |
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
package main | |
import ( | |
"bytes" | |
"context" | |
"flag" | |
"io" | |
"path/filepath" | |
"fmt" |
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
package compressor | |
import ( | |
"bytes" | |
"compress/gzip" | |
"encoding/gob" | |
"fmt" | |
"io" | |
"io/ioutil" | |
) |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"github.com/dustin/go-humanize" | |
"github.com/konsorten/go-xdelta" | |
) |
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
package nexmo | |
// Config holds any values required for dispatching SMS messages to Nexmo | |
type Config struct { | |
Creds *Credentials | |
NexmoWorkers int `env:"NEXMO_WORKERS" envDefault:"5"` | |
NexmoURL string `env:"NEXMO_URL" envDefault:"https://rest.nexmo.com/sms/json"` | |
NexmoSecretFile string `env:"NEXMO_CONFIG_FILE" envDefault:"/secrets/nexmo/nexmo.json"` | |
} |
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
detected row inserted | |
fatal error: unexpected signal during runtime execution | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x63f8057] | |
runtime stack: | |
runtime.throw(0x4599bce, 0x2a) | |
/usr/local/go/src/runtime/panic.go:608 +0x72 | |
runtime.sigpanic() | |
/usr/local/go/src/runtime/signal_unix.go:374 +0x2f2 |
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
version v0.90.0.896, Sierra Nevada! | |
{CgID:10453 AxID:73413584} | |
369 | |
error <nil> | |
iTerm2 | |
811008, 512, 48, 124 | |
Assertion failed: (bitmap != NULL), function createPNGWriteInfo, file /Users/alex/go/src/github.com/go-vgo/robotgo/screen/../base/png_io_c.h, line 187. | |
SIGABRT: abort | |
PC=0x7fff68bc62c6 m=0 sigcode=0 |
NewerOlder