Skip to content

Commit

Permalink
Release 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Oct 17, 2017
1 parent cba071e commit d860f04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package main

import (
"fmt"
_ "github.com/ossrs/go-oryx-lib/aac"
_ "github.com/ossrs/go-oryx-lib/asprocess"
_ "github.com/ossrs/go-oryx-lib/errors"
Expand All @@ -16,6 +17,15 @@ import (
_ "github.com/ossrs/go-oryx-lib/websocket"
)

const (
Major, Minor, Revision = 0, 0, 1
)

func Version() string {
return fmt.Sprintf("%v.%v.%v", Major, Minor, Revision)
}

func main() {
fmt.Println(fmt.Sprintf("GO-ORYX-LIB/%v, please use as library in your project.", Version()))
return
}

0 comments on commit d860f04

Please sign in to comment.