Skip to content

Commit

Permalink
added go build and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jul 25, 2024
1 parent a063fc9 commit d58cd0c
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: gomod
directory: /tests
schedule:
interval: weekly
28 changes: 28 additions & 0 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Go build
#
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
#
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18.x', '1.19.x', '1.20.x', '1.21.x' ]
steps:
- uses: actions/checkout@v3
#
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: subdir/go.sum
cache: true
#
- name: Build
run: go build -v ./...
#
#
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# tiktok-go-sdk

TikTok Go SDK: A simple library for interacting with TikTok Developer API in Go.


## Overview
The TikTok Go SDK provides a straightforward way to integrate TikTok's Developer API into your Go applications.

## Installation
To install the SDK, use go get:

```sh

go get github.com/HiWay-Media/tiktok-go-sdk
```

## Usage
Import the Package
```go

import "github.com/HiWay-Media/tiktok-go-sdk"
```

## Features
- Authentication
- Fetch user data
- Post videos

## Contributing
Feel free to submit issues and pull requests.

## License
This project is licensed under the MIT License.

0 comments on commit d58cd0c

Please sign in to comment.