xoutil

package module
v0.0.0-...-1eafd62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: MIT Imports: 6 Imported by: 1

README

About xoutil

Package xoutil provides extra utilities for the xo cli tool.

Please see the GoDoc listing for the full API.

Documentation

Overview

Package xoutil provides additional types for the xo cli tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqTime

type SqTime struct {
	time.Time
}

SqTime provides a type that will correctly scan the various timestamps values stored by the github.com/mattn/go-sqlite3 driver for time.Time values, as well as correctly satisfying the sql/driver/Valuer interface.

func (*SqTime) Scan

func (t *SqTime) Scan(v interface{}) error

Scan satisfies the Scanner interface.

func (SqTime) Value

func (t SqTime) Value() (driver.Value, error)

Value satisfies the Valuer interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL