profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/wdscxsj/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Yang Yang wdscxsj Beijing 行己有耻

wdscxsj/anki 0

Anki for desktop computers

wdscxsj/antlr4 0

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

wdscxsj/antlrperfcomp 0

Performance comparison between Go and Java runtimes of ANTLR v4.7

wdscxsj/assets 0

Public assets

wdscxsj/cgasm 0

We're insanely passionate about command line asm documentation in the cloud, and we're crushing it!

wdscxsj/crow 0

Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)

wdscxsj/cryptography 0

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

wdscxsj/doodle 0

Doodle for aboly.

startedgolang-collections/go-datastructures

started time in 3 days

startedtidwall/jsonc

started time in 10 days

startedhashicorp/hcl

started time in 10 days

startedalecthomas/kong-yaml

started time in 10 days

startedvalinet/Win11DisableRoundedCorners

started time in 11 days

startedgoplus/gop

started time in 11 days

startedvariadico/noti

started time in 13 days

issue closedyuin/goldmark

Raw text/position information about block nodes?

Node.Text() and Node.Lines() return the text and position information about block nodes, but only for the text part, somewhat like Node.textContent in the DOM API. Is is possible to get the "raw" information about block nodes, including their related markups? That would be something like Element.outerHTML in DOM. Thanks!

closed time in 15 days

wdscxsj

startedtailscale/go

started time in 17 days

startedreflog/go2ast

started time in 17 days

issue commentalecthomas/kong

How to specify command options in configuration file

Thanks for your answer! I think

mytest play -c opts.json

{
    "song": "foo"
}

is not as good as

mytest -c opts.json

{
    play: {
        "song": "foo"
    }
}

, but that's also OK.

wdscxsj

comment created time in 17 days

issue openedyuin/goldmark

Raw text/position information about block nodes?

Node.Text() and Node.Lines() return the text and position information about block nodes, but only for the text part, somewhat like Node.textContent in the DOM API. Is is possible to get the "raw" information about block nodes, including their related markups? That would be something like Element.outerHTML in DOM. Thanks!

created time in 17 days

starteddominikh/go-tools

started time in 17 days

startedizolate/html2pug

started time in 17 days

startedjson-iterator/go

started time in 20 days

startedfrederikhors/bench-golang-validators

started time in 21 days

issue openedalecthomas/kong

How to specify command options in configuration file

With this struct:

type CLI struct {
	Conf kong.ConfigFlag `short:"c"`
	Play struct {
		Song string
	} `cmd:""`
}

and configuration file opts.conf:

{
    "play": {}
}

This command line works:

mytest play

But not this:

mytest -c opts.conf

There must be something wrong with the configuration file but I need help to fix it. And could we have some examples for configuration files in the documentation? Thanks!

created time in 22 days

starteddgraph-io/badger

started time in 25 days

issue commentalecthomas/kong

Support for short-only flags?

@alecthomas OK, thanks for your reply! :)

wdscxsj

comment created time in 25 days

issue openedalecthomas/kong

Support for short-only flags?

Hi, sometimes a user may find long flag names crowded or even daunting. Quite a few CLI programs reserve long flag names for advanced or less commonly used features. A user can pick up this hint quickly from the help.

Is there a clean way to define short-only flags? For instance, -v without --version.

If not, could we have this feature in a future version? Perhaps something like:

Version bool `short:"v" name:"-" help:"show version info and exit"`

created time in 25 days

startedasaskevich/govalidator

started time in 25 days

startedalecthomas/kong

started time in a month

issue openedyuin/goldmark

Easy way to linearize ast to markdown?

Hello, first of all thanks for this wonderful project! It really saves a lot of work. The ast interface allows flexible manipulation of the nodes, but is there an easy way to linearize the tree (or any Node, preferably) back to markdown? Manually adding markups is boring if not error prone. Maybe another built-in renderer? Thanks!

created time in a month

startedjosharian/impl

started time in a month

startedImageMagick/ImageMagick

started time in a month

startedtermux/termux-styling

started time in a month

startedtermux/termux-api

started time in a month

startedgatsbyjs/gatsby

started time in a month

startedanandthakker/doiuse

started time in a month