This file contains hidden or 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 lcache | |
| import ( | |
| "context" | |
| "github.com/patrickmn/go-cache" | |
| "golang.org/x/sync/singleflight" | |
| "time" | |
| ) | |
| type Cache struct { |
This file contains hidden or 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" | |
| "github.com/reactivex/rxgo/v2" | |
| ) | |
| type MapFunc = func(ctx context.Context, i interface{}) (interface{}, error) |
This file contains hidden or 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 cmd | |
| import ( | |
| "context" | |
| "fmt" | |
| "github.com/aws/aws-sdk-go-v2/service/dynamodb/types" | |
| "github.com/seamusv/sparx/table_scanner/scanner" | |
| "time" | |
| "github.com/spf13/cobra" |
This file contains hidden or 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 scanner | |
| import ( | |
| "context" | |
| "fmt" | |
| "github.com/aws/aws-sdk-go-v2/aws" | |
| "github.com/aws/aws-sdk-go-v2/service/dynamodb" | |
| "github.com/aws/aws-sdk-go-v2/service/dynamodb/types" | |
| "github.com/reactivex/rxgo/v2" | |
| ) |
This file contains hidden or 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 ( | |
| "log" | |
| "sync" | |
| "time" | |
| ) | |
| type Processor struct { | |
| queue chan int |
This file contains hidden or 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 ( | |
| "fmt" | |
| "go/ast" | |
| "golang.org/x/tools/go/analysis" | |
| "golang.org/x/tools/go/analysis/singlechecker" | |
| ) | |
| var Analyzer = &analysis.Analyzer{ |
This file contains hidden or 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 ( | |
| "fmt" | |
| "go/ast" | |
| "go/parser" | |
| "go/token" | |
| ) | |
| func main() { |
This file contains hidden or 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 pgsql | |
| import ( | |
| "database/sql" | |
| "errors" | |
| "github.com/gogo/protobuf/jsonpb" | |
| "github.com/gogo/protobuf/proto" | |
| "strings" | |
| ) |
This file contains hidden or 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 pgsql | |
| import "github.com/seamusv/pkb/pkg/link" | |
| func (r *repository) AddUrl(url string) (*link.Link, error) { | |
| return nil, nil | |
| } |
This file contains hidden or 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 ( | |
| "fmt" | |
| goredislib "github.com/go-redis/redis" | |
| "github.com/go-redsync/redsync/v3" | |
| "github.com/go-redsync/redsync/v3/redis" | |
| "github.com/go-redsync/redsync/v3/redis/goredis" | |
| "sync" | |
| "time" |
NewerOlder