datatables

package module
v0.0.0-...-7f0c6b3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 8 Imported by: 0

README

go-datatables

Server-side processing for DataTables in Go

See test/main.go for example usage.

TODO:

  • Regex search
  • Multiple column ordering
  • Check if column is searchable
  • Search specific columns
  • Regex search specific columns

Documentation

Overview

Package datatables contains the main DataTables function

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataTables

func DataTables(mysqlDb *sql.DB, t string, columns string, w http.ResponseWriter, r *http.Request)

DataTables is the primary rendering function. t is the table name, columns is a comma separated list of database columns.

Types

This section is empty.

Jump to

Keyboard shortcuts

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