Skip to content

Instantly share code, notes, and snippets.

View S1lvesterTake's full-sized avatar
🏠
Working from home

Silvester Take S1lvesterTake

🏠
Working from home
  • Jogjakarta
View GitHub Profile
sabre_1 | panic: runtime error: invalid memory address or nil pointer dereference
sabre_1 | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xfa5cfb]
sabre_1 |
sabre_1 | goroutine 1 [running]:
sabre_1 | github.com/Lionparcel/cabeen-sabre/vendor/github.com/spf13/viper.(*Viper).find(0x0, 0x11dcb45, 0x14, 0x1, 0x1191f00, 0xc0003baa80)
sabre_1 | /go/src/github.com/Lionparcel/cabeen-sabre/vendor/github.com/spf13/viper/viper.go:1027 +0x4b
sabre_1 | github.com/Lionparcel/cabeen-sabre/vendor/github.com/spf13/viper.(*Viper).Get(0x0, 0x11dcb45, 0x14, 0xc0003ba960, 0xc00034b198)
sabre_1 | /go/src/github.com/Lionparcel/cabeen-sabre/vendor/github.com/spf13/viper/viper.go:728 +0x95
sabre_1 | github.com/Lionparcel/cabeen-sabre/vendor/github.com/spf13/viper.(*Viper).GetString(0x0, 0x11dcb45, 0x14, 0x0, 0x7f95f0d407d0)
sabre_1 | /go/src/github.com/Lionparcel/cabeen-sabre/vendor/github.com/
@S1lvesterTake
S1lvesterTake / sample.proto
Created June 18, 2019 03:42
Sample Proto file
syntax = "proto3";
package tutorial;
import "google/protobuf/timestamp.proto";
message Person {
string name = 1;
int32 id = 2; // Unique ID number for this person.
string email = 3;