knowledgedb:一个用go编写的简单知识库

时间:2024-06-30 13:14:01
【文件属性】:

文件名称:knowledgedb:一个用go编写的简单知识库

文件大小:236KB

文件格式:ZIP

更新时间:2024-06-30 13:14:01

Go

知识数据库 这是一个用Go编写的个人使用的小知识库,没有用户认证,只是一些markdown处理和全文搜索。 使用的第 3 方包/库 进行降价处理 用于 HTML 用于在文档中搜索 用于文件存储的 基本 UI 设计 用于 http 请求路由的 用于语法高亮 因为其他一些库需要它...... 输入:-P 也用于标签输入 生成唯一 ID。 运行Web服务器作为Windows服务。 编译 要编译,您可以简单地使用go build或者如果您想要一些额外的搜索引擎构建分析器,使用go build -tags "icu libstemmer"有关其他搜索引擎功能的更多信息,请参阅bleve ... 执行 将编译后的可执行文件复制到与static和templates目录相同的目录中。 如果你愿意,你可以创建一个config.json { " HttpAddr " : " :1234


【文件预览】:
knowledgedb-master
----serve_search.go(1KB)
----index()
--------fragmentformatterex.go(2KB)
--------index.go(2KB)
----log()
--------log.go(828B)
--------service.go(592B)
----config()
--------config.go(636B)
----serve_entries.go(3KB)
----templates.go(2KB)
----serve_licenses.go(25KB)
----templates()
--------edit_document.html(3KB)
--------view_document.html(1KB)
--------search_result.html(775B)
--------index.html(490B)
--------base.html(2KB)
--------tag.html(545B)
--------create_document.html(3KB)
--------markdown.html(117B)
--------help.md(2KB)
--------licenses.html(928B)
----markdown()
--------markdown.go(886B)
--------plaintextrenderer.go(5KB)
----LICENSE(11KB)
----static()
--------jquery.js(82KB)
--------bootstrap()
--------taginput()
--------tagcloud.js(2KB)
--------hljs()
----storage()
--------storage.go(919B)
--------strutils.go(352B)
--------documentstorage.go(3KB)
--------taginfo.go(1KB)
--------entry.go(1KB)
----serve_tags.go(906B)
----main.go(1KB)
----README.md(2KB)
----httpserver.go(2KB)

网友评论