Documentation
¶
Overview ¶
* @Author: shgopher shgopher@gmail.com * @Date: 2023-05-26 04:15:12 * @LastEditors: shgopher shgopher@gmail.com * @LastEditTime: 2023-05-26 04:22:31 * @FilePath: /short/db.go * @Description: * * Copyright (c) 2023 by shgopher, All Rights Reserved.
* @Author: shgopher shgopher@gmail.com * @Date: 2023-05-26 04:22:10 * @LastEditors: shgopher shgopher@gmail.com * @LastEditTime: 2023-05-26 04:22:18 * @FilePath: /short/mem.go * @Description: * * Copyright (c) 2023 by shgopher, All Rights Reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySqlDBValue ¶
type Node ¶
type Node struct { LongValue string // long string ShortValue string // short string // contains filtered or unexported fields }
func (*Node) ShortChange ¶
change a new short URL.
func (*Node) ShortDelete ¶
delete the shortURL,and it's long url
Directories
¶
Path | Synopsis |
---|---|
* @Author: shgopher shgopher@gmail.com * @Date: 2023-05-26 04:15:12 * @LastEditors: shgopher shgopher@gmail.com * @LastEditTime: 2023-05-26 04:33:30 * @FilePath: /short/example/example.go * @Description: * * Copyright (c) 2023 by shgopher, All Rights Reserved.
|
* @Author: shgopher shgopher@gmail.com * @Date: 2023-05-26 04:15:12 * @LastEditors: shgopher shgopher@gmail.com * @LastEditTime: 2023-05-26 04:33:30 * @FilePath: /short/example/example.go * @Description: * * Copyright (c) 2023 by shgopher, All Rights Reserved. |
Click to show internal directories.
Click to hide internal directories.