axios4go

(★ 39)

A Go HTTP client library inspired by Axios, providing a simple and intuitive API for making HTTP requests with features like interceptors, JSON handling, configurable instances, and automatic retries

파일 탐색기

  • .gitignore
  • .golangci.yml
  • axios4go_test.go
  • cache.go
  • cache_test.go
  • CHANGELOG.md
  • client.go
  • go.mod
  • LICENSE
  • logger.go
  • makefile
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

fmt

설명 보기 ▼

단락을 결합하고 줄 너비를 문자 수 (기본적으로 75자)로 제한하여 텍스트 파일의 서식을 다시 지정.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/fmt-invocation.html>.

fmt {{path/to/file}}

파일 재포맷:

fmt {{[-w|--width]}} {{n}} {{path/to/file}}

(최대) `n` 문자의 출력 줄을 생성하는 파일 형식을 다시 지정:

fmt {{[-s|--split-only]}} {{path/to/file}}

주어진 너비보다 짧은 줄을 결합하지 않고, 파일 형식을 다시 지정:

🔍

go get

설명 보기 ▼

Add a dependency package, or download packages in legacy GOPATH mode.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go get {{example.com/pkg}}

Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:

go get {{example.com/pkg}}@{{v1.2.3}}

Modify the package with a given version in module-aware mode:

go get {{example.com/pkg}}@{{none}}

Remove a specified package:

🔍

time

설명 보기 ▼

명령어 실행 시간을 측정.
참고: `time`은 셸 내장 명령어이거나 독립 실행형 프로그램이거나 둘 다일 수 있습니다.
관련 항목: `times`.
더 많은 정보: <https://manned.org/time>.

time {{command}}

`command`를 실행하고 시간 측정 결과를 `stdout`에 출력:

time

현재 시스템 시간 표시 및 새 시간 입력 요청 (비워두면 변경되지 않음):

time read

매우 간단한 스톱워치 생성 (Bash에서만 작동):

# 프로젝트 배지

// repository documentation