database

package
v0.0.0-...-fd80b3d Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package database defines the language database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func Open

func Open(file string) (*DB, error)

func (*DB) Close

func (db *DB) Close() error

func (*DB) CodeExists

func (db *DB) CodeExists(code string) (bool, error)

func (*DB) CodeList

func (db *DB) CodeList() ([]language.Code, error)

func (*DB) Dump

func (db *DB) Dump() ([]string, error)

func (*DB) Insert

func (db *DB) Insert(comment string, language *language.Language) error

Jump to

Keyboard shortcuts

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