The reconcile package is used for DOM reconcilation in Isomorphic Go web applications.

offset.go 290B

12345678910
  1. // The Isomorphic Go Project
  2. // Copyright (c) Wirecog, LLC. All rights reserved.
  3. // Use of this source code is governed by a BSD-style
  4. // license, which can be found in the LICENSE file.
  5. package html
  6. func (t *Tokenizer) CurrentOffset() [2]int {
  7. return [2]int{t.data.start, t.data.end}
  8. }