Skip to content

Commit

Permalink
pkg comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Collison committed Oct 24, 2013
1 parent 9eb4a7b commit 74ccae0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
12 changes: 7 additions & 5 deletions conf/parse.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Copyright 2013 Apcera Inc. All rights reserved.

// Parser will return a map of keys to interface{}, although concrete types
// underly them. The values supported are string, bool, int64, float64, DateTime.
// Arrays and nested Maps are also supported.
// Conf is a configuration file format used by gnatsd. It is
// a flexible format that combines the best of traditional
// configuration formats and newer styles such as JSON and YAML.
package conf

// The format supported is less restrictive than today's formats.
// Supports mixed Arrays [], nested Maps {}, multiple comment types (# and //)
Expand All @@ -13,14 +14,15 @@
//
// see parse_test.go for more examples.

package conf

import (
"fmt"
"strconv"
"time"
)

// Parser will return a map of keys to interface{}, although concrete types
// underly them. The values supported are string, bool, int64, float64, DateTime.
// Arrays and nested Maps are also supported.
type parser struct {
mapping map[string]interface{}
lx *lexer
Expand Down
5 changes: 4 additions & 1 deletion sublist/sublist.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// Copyright 2012 Apcera Inc. All rights reserved.
// Copyright 2012-2013 Apcera Inc. All rights reserved.

// Sublist is a subject distribution data structure that can match subjects to
// interested subscribers. Subscribers can have wildcard subjects to match
// multiple published subjects.
package sublist

import (
Expand Down

0 comments on commit 74ccae0

Please sign in to comment.