func github.com/go-redis/redis/v8.formatSec

10 uses

	github.com/go-redis/redis/v8 (current package)
		commands.go#L28: func formatSec(ctx context.Context, dur time.Duration) int64 {
		commands.go#L462: 	cmd := NewBoolCmd(ctx, "expire", key, formatSec(ctx, expiration))
		commands.go#L768: 			args = append(args, "ex", formatSec(ctx, expiration))
		commands.go#L788: 			cmd = NewBoolCmd(ctx, "set", key, value, "ex", formatSec(ctx, expiration), "nx")
		commands.go#L806: 			cmd = NewBoolCmd(ctx, "set", key, value, "ex", formatSec(ctx, expiration), "xx")
		commands.go#L1093: 	args[len(args)-1] = formatSec(ctx, timeout)
		commands.go#L1106: 	args[len(keys)+1] = formatSec(ctx, timeout)
		commands.go#L1119: 		formatSec(ctx, timeout),
		commands.go#L1699: 	args[len(args)-1] = formatSec(ctx, timeout)
		commands.go#L1713: 	args[len(args)-1] = formatSec(ctx, timeout)