美文网首页
vscode-snippets 配置golang

vscode-snippets 配置golang

作者: rekca | 来源:发表于2020-07-06 21:19 被阅读0次
{
    "header": {
        "prefix": "@hhhhh",
        "body": [
            "/* Copyright $CURRENT_YEAR XXX Inc. All Rights Reserved. */",
            "/* ${TM_FILENAME} */",
            "/*",
            " modification history",
            " --------------------",
            " $CURRENT_YEAR/$CURRENT_MONTH/$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND, by Ranrl, create",
            "*/",
            "/*",
            " DESCRIPTION",
            "",
            "*/",
            "",
            "package $0",
        ],
        "description": ""
    },
    "func": {
        "prefix": "@ffff",
        "body": [
            "/*",
            "* ",
            "* PARAMS:",
            "*  - ",
            "* RETURNS:",
            "*  - ",
            "*/",
        ],
        "description": ""
    }
}

header显示效果

/* Copyright 2020 Baidu Inc. All Rights Reserved. */
/* router.go */
/*
 modification history
 --------------------
 2020/07/06 21:08:24, by Ranrl, create
*/
/*
 DESCRIPTION

*/

func显示效果

/*
* 
* PARAMS:
*  - 
* RETURNS:
*  - 
*/

相关文章

网友评论

      本文标题:vscode-snippets 配置golang

      本文链接:https://www.haomeiwen.com/subject/ltzgqktx.html