Skip to content

Instantly share code, notes, and snippets.

View spencer-kormos-gbf's full-sized avatar

Spencer Kormos spencer-kormos-gbf

View GitHub Profile
@spencer-kormos-gbf
spencer-kormos-gbf / zeus_test.go
Created October 29, 2019 20:19
Zeus Sql Output
import "github.com/getbread/breadkit/zeus/searcher"
func TestZeus(t *testing.T) {
lsr := loanSearch.LoanSearchRequest{}
yy, mm, dd := time.Now().Date()
midnight := time.Date(yy, mm, dd, 0, 0, 0, 0, time.Now().Location())
lsr.AddFilter(loanSearch.LoanSearch_PaidOffAt, midnight.AddDate(0, 0, -fullPaymentDelayDays), searcher.Operator_GTE, searcher.Condition_AND)
lsr.AddFilter(loanSearch.LoanSearch_PaidOffAt, midnight.AddDate(0, 0, 1-fullPaymentDelayDays), searcher.Operator_LT, searcher.Condition_AND)
@spencer-kormos-gbf
spencer-kormos-gbf / payments.go
Last active May 19, 2023 12:21
Proposed Scheduled Payments API
package payments
import (
"time"
"github.com/google/uuid"
)
type ScheduledTransactionStatus string
@spencer-kormos-gbf
spencer-kormos-gbf / QuickStart.md
Created June 28, 2019 18:54
QuickStart for GRPC and environment
  1. Make sure Go is properly installed, including the PATH.
  2. Install the protoc binary. brew install protobuf.
  3. Install the gen library. go get -u github.com/golang/protobuf/protoc-gen-go.