Skip to content

huangzhiran/sqltableconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqltableconv

usage

import (
	"fmt"
	"github.com/huangzhiran/sqltableconv"
)

func main() {
	SQL := "select * from student"

	convFunc := func(s string) string {
		return s + "_change"
	}

	c, err := sqltableconv.Conv(SQL, convFunc)
	if err != nil {
		panic(err)
	}
	fmt.Println(c)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages