directsql

command
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Directsql demo EN

  • install mysql and create demo database
  • create table ,scriptr:sys_user.sql
  • setup config/xorm.ini
    • connstring = root:@tcp(127.0.0.1:3306)/demo?charset=utf8
  • run demo
  • browse localhost:8080

Directsql demo CN

  • 首先安装 mysql 并创建 demo 数据库
  • 创建表 sys_user ,建表及演示数据scriptr见 sys_user.sql
  • 配置 config/xorm.ini 中数据库连接字符串
    • connstring = root:@tcp(127.0.0.1:3306)/demo?charset=utf8
  • 编译运行
  • 浏览器打开 localhost:8080

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

  • main.go

Directories

Path Synopsis
功能:pongo2模板数据库访问函数 日期:2017.01.06
功能:pongo2模板数据库访问函数 日期:2017.01.06
*
*

Jump to

Keyboard shortcuts

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