Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@67 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
20
vendor/github.com/yosssi/gcss/comment.go
generated
vendored
Normal file
20
vendor/github.com/yosssi/gcss/comment.go
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
package gcss
|
||||
|
||||
import "io"
|
||||
|
||||
// comment represents a comment of CSS.
|
||||
type comment struct {
|
||||
elementBase
|
||||
}
|
||||
|
||||
// WriteTo does nothing.
|
||||
func (c *comment) WriteTo(w io.Writer) (int64, error) {
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
// newComment creates and returns a comment.
|
||||
func newComment(ln *line, parent element) *comment {
|
||||
return &comment{
|
||||
elementBase: newElementBase(ln, parent),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user