~shulhan/asciidoctor-go

ref: v0.1.0 asciidoctor-go/anchor.go -rw-r--r-- 306 bytes
4c1ded16Shulhan Release asciidoctor-go v0.1.0 (2021-03-06) 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package asciidoctor

//
// anchor contains label and counter for duplicate ID.
//
type anchor struct {
	label   string
	counter int
}