Skip to content

Conversation

@iafan
Copy link
Contributor

@iafan iafan commented May 30, 2017

This implements #20 using functional parameters:

// default backward-compatible call
got, err := AsHTML(input)

// with optional parameter
got, err := AsHTML(input, OrderedList())

iafan added 3 commits May 30, 2017 10:37
This gives an ability to show highlighted source with line numbers.
Reason: `go vet` is no longer go-get-able and is available
as a standard tool since Go 1.6. I think it should be fine to drop
Go 1.4 from test targets for this reason.
@sqs sqs merged commit 190f588 into sourcegraph:master May 31, 2017
@sqs
Copy link
Member

sqs commented May 31, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants