This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"bytes" | |
"encoding/binary" | |
"fmt" | |
"io" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 获取该条记录的自增ID | |
* 将自增转换为62进制,并拼接网址 如:http://qetee.com/w7e | |
* 用户访问到 http://qetee.com/w7e 时,提取短网址后缀 w7e | |
* 将短网址后缀转换为10进制,得到自增ID号 如:123456 | |
* 使用查询该记录,进行业务逻辑处理(比如跳转) | |
*/ | |
/** | |
* 十进制数转换成62进制 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Editing ### | |
`Ctrl + Space` 基本代码完成(任意类的,方法的或者变量的名称) | |
`Ctrl + Shift + Enter` 补全当前语句 | |
`Ctrl + P` Parameter info (within method call arguments) | |
`Ctrl + Q` 快速查找文档 | |
`Ctrl + 鼠标滑过` 简明信息查看 | |
`Ctrl + F1` 在插入符号处显示错误或者警告信息 | |
`Alt + Insert` 生成代码...(Getters,Setters,Constructors) | |
`Ctrl + O` 重写方法 | |
`Ctrl + I` 实现方法 |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |