<commit_before># gotojs
Package gotojs offers a library for exposing go-interfaces as Javascript proxy objects.   
Therefore package gotojs assembles a JS engine which creates proxy objects as JS code and forwards the calls to them via JSON encoded HTTP Ajax requests. This allows web developers to easily write HTML5 based application using jQuery,YUI and other simalar frameworks without explictily dealing with ajax calls and RESTful server APIs but using a transparent RPC service.

## Requirements
* go version 1.1.1
* node.js version v0.10.20
* npm version 1.3.11
* node.js module jquery@1.8.3

## Getting started
If not happend so far create your go environment and set the GOPATH environment variable accordingly:
```
#mkdir ~/go
#export GOPATH=~/go

```

Check your go, nodejs and npm versions:
```
#go version
go version go1.1.1 linux/amd64
#node --version
v0.10.20
#npm --version
1.3.11
#npm list jquery@1.8.3
/home/sk
└── jquery@1.8.3
```

If these are not available, please try to install at least the above listed version. The nodejs stuff is necessary
to perform the go unit tests.    
   
Next, fetch the gotojs package:

```
go get github.com/sebkl/gotojs
```

and create a sample application tree:
```
${GOPATH}/bin/util sample ${GOPATH}/www
```

Please keep in mind, that the example application `${GOPATH}/www/app.go` is intended to show some features. After playing around with it you should create your own !

## Documentation
The go documentation of the gotojs package is complete and also some additional examples, so its worth having a look.
```
cd ${GOPATH}
godoc -http=:8080
```
And browse to [http://localhost:8080/pkg/github.com/sebkl/gotojs/](http://localhost:8080/pkg/github.com/sebkl/gotojs/ "http://localhost:8080/pkg/github.com/sebkl/gotojs/")




<commit_msg>Updated readme with godoc reference.<commit_after># gotojs
Package gotojs offers a library for exposing go-interfaces as Javascript proxy objects.   
Therefore package gotojs assembles a JS engine which creates proxy objects as JS code and forwards the calls to them via JSON encoded HTTP Ajax requests. This allows web developers to easily write HTML5 based application using jQuery,YUI and other simalar frameworks without explictily dealing with ajax calls and RESTful server APIs but using a transparent RPC service.

## Requirements
* go version 1.1.1
* node.js version v0.10.20
* npm version 1.3.11
* node.js module jquery@1.8.3

## Getting started
If not happend so far create your go environment and set the GOPATH environment variable accordingly:
```
#mkdir ~/go
#export GOPATH=~/go

```

Check your go, nodejs and npm versions:
```
#go version
go version go1.1.1 linux/amd64
#node --version
v0.10.20
#npm --version
1.3.11
#npm list jquery@1.8.3
/home/sk
└── jquery@1.8.3
```

If these are not available, please try to install at least the above listed version. The nodejs stuff is necessary
to perform the go unit tests.    
   
Next, fetch the gotojs package:

```
go get github.com/sebkl/gotojs
```

and create a sample application tree:
```
${GOPATH}/bin/util sample ${GOPATH}/www
```

Please keep in mind, that the example application `${GOPATH}/www/app.go` is intended to show some features. After playing around with it you should create your own !

## Documentation
The go documentation of the gotojs package is complete and includes some additional examples, so its worth having a look.
it can be viewed [at godoc.org](http://godoc.org/github.com/sebkl/gotojs) or once downloaded within your local go environment:

```
cd ${GOPATH}
godoc -http=:8080
```
And browse to [http://localhost:8080/pkg/github.com/sebkl/gotojs/](http://localhost:8080/pkg/github.com/sebkl/gotojs/ "http://localhost:8080/pkg/github.com/sebkl/gotojs/")





{'fraction_non_alphanumeric': 0.0943093775046754, 'fraction_numerical': 0.027785199038204648, 'mean_word_length': 4.236363636363636, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2416251', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1084, 'n_words': 478}