mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Make parseLine public by renaming it to ParseLine
This commit is contained in:
parent
7711182a72
commit
8f2ab20f4f
5 changed files with 45 additions and 45 deletions
|
@ -78,8 +78,8 @@ func (line *Line) Public() bool {
|
|||
}
|
||||
|
||||
|
||||
// parseLine() creates a Line from an incoming message from the IRC server.
|
||||
func parseLine(s string) *Line {
|
||||
// ParseLine() creates a Line from an incoming message from the IRC server.
|
||||
func ParseLine(s string) *Line {
|
||||
line := &Line{Raw: s}
|
||||
if s[0] == ':' {
|
||||
// remove a source and parse it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue