<commit_before>luosimao
=====================

国内的luosimao短信接口类库

#### 通过`go get`获取类库

```bash
go get github.com/igonow/luosimao
```

#### 示例代码

> 请将您自己的API密码和手机号填到下面对应的变量。

```go
package main

import (
    "encoding/json"
    "fmt"

    "github.com/igonow/luosimao"
)

var voiceAuth luosimao.Authorization
var smsAuth luosimao.Authorization

func main() {
    voiceAuth = luosimao.Authorization{UserName: "api", Password: ""}
    smsAuth = luosimao.Authorization{UserName: "api", Password: ""}
<commit_msg>improve readme<commit_after>luosimao
=====================

国内的luosimao短信接口类库，实现了短信的发送和语音验证码的发送。

#### 通过`go get`获取类库

```bash
go get github.com/igonow/luosimao
```

#### 示例代码

> 请将您自己的API密码和手机号填到下面对应的变量。

```go
package main

import (
    "encoding/json"
    "fmt"

    "github.com/igonow/luosimao"
)

var voiceAuth luosimao.Authorization
var smsAuth luosimao.Authorization

func main() {
    voiceAuth = luosimao.Authorization{UserName: "api", Password: ""}
    smsAuth = luosimao.Authorization{UserName: "api", Password: ""}

{'fraction_non_alphanumeric': 0.1702127659574468, 'fraction_numerical': 0.0, 'mean_word_length': 4.948275862068965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6139482', 'n_tokens_mistral': 470, 'n_tokens_neox': 480, 'n_words': 67}